|
1 | 1 | { |
2 | 2 | "name": "graphql-compose-connection", |
3 | | - "version": "1.0.8", |
| 3 | + "version": "0.0.0-semantically-released", |
4 | 4 | "description": "Plugin for `graphql-compose` which provide a connection resolver for types.", |
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-connection.git" |
| 13 | + "url": "https://github.com/nodkz/graphql-compose-connection.git" |
14 | 14 | }, |
15 | 15 | "keywords": [ |
16 | 16 | "graphql", |
|
39 | 39 | "chai": "3.5.0", |
40 | 40 | "chai-as-promised": "5.3.0", |
41 | 41 | "chai-spies": "0.7.1", |
| 42 | + "cz-conventional-changelog": "1.2.0", |
42 | 43 | "eslint": "3.4.0", |
43 | 44 | "eslint-config-airbnb": "10.0.1", |
44 | 45 | "eslint-plugin-flowtype": "2.15.0", |
|
48 | 49 | "flow-bin": "0.32.0", |
49 | 50 | "mocha": "3.0.2", |
50 | 51 | "rimraf": "2.5.4", |
51 | | - "sane": "1.4.1" |
| 52 | + "sane": "1.4.1", |
| 53 | + "semantic-release": "4.3.5" |
52 | 54 | }, |
53 | 55 | "scripts": { |
54 | 56 | "build": "npm run build-cjs && npm run build-flow && npm run build-es", |
55 | 57 | "build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__ -d lib", |
56 | 58 | "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es", |
57 | 59 | "build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done", |
58 | 60 | "lint": "eslint src test *.js", |
59 | | - "prepublish": "npm run test && npm run build", |
| 61 | + "prepublish": "npm run build", |
60 | 62 | "test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js", |
61 | 63 | "watch": "babel-node ./resources/watch.js", |
62 | | - "link": "npm link graphql && npm link graphql-compose && npm link" |
| 64 | + "link": "npm link graphql && npm link graphql-compose && npm link", |
| 65 | + "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
63 | 66 | }, |
64 | 67 | "dependencies": { |
65 | 68 | "babel-runtime": "6.11.6" |
| 69 | + }, |
| 70 | + "config": { |
| 71 | + "commitizen": { |
| 72 | + "path": "./node_modules/cz-conventional-changelog" |
| 73 | + } |
66 | 74 | } |
67 | 75 | } |
0 commit comments