|
1 | 1 | { |
2 | 2 | "name": "react-relay-network-layer", |
3 | | - "version": "1.4.0", |
| 3 | + "version": "0.0.0-semantically-released", |
4 | 4 | "description": "Network Layer for React Relay and Express (Batch Queries, AuthToken, Logging, Retry)", |
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/react-relay-network-layer.git" |
| 13 | + "url": "https://github.com/nodkz/react-relay-network-layer.git" |
14 | 14 | }, |
15 | 15 | "keywords": [ |
16 | 16 | "relay", |
|
38 | 38 | "babel-register": "^6.23.0", |
39 | 39 | "chai": "^3.5.0", |
40 | 40 | "chai-as-promised": "^6.0.0", |
| 41 | + "cz-conventional-changelog": "^2.0.0", |
41 | 42 | "eslint": "^3.17.0", |
42 | 43 | "eslint-config-airbnb-base": "^11.1.1", |
43 | 44 | "eslint-module-utils": "^2.0.0", |
44 | 45 | "eslint-plugin-import": "^2.2.0", |
45 | 46 | "fetch-mock": "^5.9.4", |
46 | 47 | "mocha": "^3.1.1", |
47 | | - "rimraf": "^2.6.1" |
| 48 | + "nyc": "^10.1.2", |
| 49 | + "rimraf": "^2.6.1", |
| 50 | + "semantic-release": "^6.3.2" |
| 51 | + }, |
| 52 | + "config": { |
| 53 | + "commitizen": { |
| 54 | + "path": "./node_modules/cz-conventional-changelog" |
| 55 | + } |
| 56 | + }, |
| 57 | + "nyc": { |
| 58 | + "exclude": [ |
| 59 | + "**/tests/**", |
| 60 | + "resources", |
| 61 | + "node_modules" |
| 62 | + ], |
| 63 | + "reporter": [ |
| 64 | + "lcov", |
| 65 | + "text" |
| 66 | + ] |
48 | 67 | }, |
49 | 68 | "scripts": { |
50 | 69 | "build": "npm run build-lib && npm run build-es", |
51 | 70 | "build-lib": "rimraf lib && BABEL_ENV=lib babel src -d lib", |
52 | 71 | "build-es": "rimraf es && BABEL_ENV=es babel src -d es", |
53 | 72 | "lint": "eslint src test *.js", |
54 | 73 | "prepublish": "npm run test && npm run build", |
55 | | - "test": "npm run lint && BABEL_ENV=lib mocha --require test/mocha-bootload --compilers js:babel-register test/*.test.js" |
| 74 | + "coverage": "nyc npm run test", |
| 75 | + "test": "npm run lint && BABEL_ENV=lib mocha --require test/mocha-bootload --compilers js:babel-register test/*.test.js", |
| 76 | + "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
56 | 77 | } |
57 | 78 | } |
0 commit comments