|
1 | 1 | { |
2 | 2 | "name": "graphql-compose-relay", |
3 | | - "version": "1.0.8", |
| 3 | + "version": "0.0.0-semantically-released", |
4 | 4 | "description": "Plugin for `graphql-compose` which wraps graphql types with Relay specific logic.", |
5 | 5 | "files": [ |
6 | 6 | "es", |
|
10 | 10 | "jsnext:main": "es/index.js", |
11 | 11 | "repository": { |
12 | 12 | "type": "git", |
13 | | - "url": "git+https://github.com/nodkz/graphql-compose-relay.git" |
| 13 | + "url": "https://github.com/nodkz/graphql-compose-relay.git" |
14 | 14 | }, |
15 | 15 | "keywords": [ |
16 | 16 | "graphql", |
|
28 | 28 | }, |
29 | 29 | "devDependencies": { |
30 | 30 | "babel-cli": "6.14.0", |
| 31 | + "babel-core": "6.14.0", |
31 | 32 | "babel-eslint": "6.1.2", |
32 | 33 | "babel-plugin-syntax-async-functions": "6.13.0", |
33 | 34 | "babel-plugin-transform-class-properties": "6.11.5", |
|
39 | 40 | "chai": "3.5.0", |
40 | 41 | "chai-as-promised": "5.3.0", |
41 | 42 | "chai-spies": "0.7.1", |
| 43 | + "cz-conventional-changelog": "1.2.0", |
42 | 44 | "eslint": "3.4.0", |
43 | 45 | "eslint-config-airbnb": "10.0.1", |
44 | 46 | "eslint-plugin-flowtype": "2.15.0", |
|
47 | 49 | "eslint-plugin-react": "6.2.0", |
48 | 50 | "flow-bin": "0.32.0", |
49 | 51 | "mocha": "3.0.2", |
| 52 | + "nyc": "8.1.0", |
50 | 53 | "rimraf": "2.5.4", |
51 | | - "sane": "1.4.1" |
| 54 | + "sane": "1.4.1", |
| 55 | + "semantic-release": "^4.3.5" |
52 | 56 | }, |
53 | 57 | "scripts": { |
54 | 58 | "build": "npm run build-cjs && npm run build-flow && npm run build-es", |
55 | 59 | "build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__ -d lib", |
56 | 60 | "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es", |
57 | 61 | "build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done", |
| 62 | + "coverage": "nyc npm run test", |
58 | 63 | "lint": "eslint src test *.js", |
59 | | - "prepublish": "npm run test && npm run build", |
60 | 64 | "test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js", |
61 | 65 | "watch": "babel-node ./resources/watch.js", |
62 | | - "link": "npm link graphql && npm link graphql-compose && npm link" |
| 66 | + "link": "npm link graphql && npm link graphql-compose && npm link", |
| 67 | + "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
63 | 68 | }, |
64 | 69 | "dependencies": { |
65 | 70 | "babel-runtime": "6.11.6" |
| 71 | + }, |
| 72 | + "config": { |
| 73 | + "commitizen": { |
| 74 | + "path": "./node_modules/cz-conventional-changelog" |
| 75 | + } |
| 76 | + }, |
| 77 | + "nyc": { |
| 78 | + "exclude": [ |
| 79 | + "**/__mocks__/**", |
| 80 | + "**/__tests__/**", |
| 81 | + "resources", |
| 82 | + "node_modules" |
| 83 | + ], |
| 84 | + "reporter": [ |
| 85 | + "lcov", |
| 86 | + "text" |
| 87 | + ] |
66 | 88 | } |
67 | 89 | } |
0 commit comments