|
19 | 19 | "main": "./cjs/index.js", |
20 | 20 | "typings": "./lib/index.d.ts", |
21 | 21 | "scripts": { |
| 22 | + "all": "npm run lint && npm run test && npm run build", |
22 | 23 | "build": "gulp && webpack && cross-env BUILD_MINIFIED=true webpack", |
23 | 24 | "clean": "rm -r -f dist lib cjs coverage", |
24 | | - "ci:coveralls": "cat coverage/lcov.info | coveralls", |
| 25 | + "ci:coveralls": "lcov-result-merger './coverage/lcov*.info' | coveralls", |
25 | 26 | "release": "npm version -m 'react-css-transition release %s'", |
26 | 27 | "lint": "gulp lint", |
27 | 28 | "test": "npm run test:unit && npm run test:integration", |
28 | | - "test:coverage": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' istanbul cover node_modules/.bin/_mocha -- --opts mocha.opts", |
29 | | - "test:unit": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts", |
| 29 | + "test:unit": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' istanbul cover node_modules/.bin/_mocha -- --opts mocha.opts", |
30 | 30 | "test:unit:watch": "npm run test:unit -- --watch", |
31 | 31 | "test:integration": "karma start", |
32 | 32 | "test:integration:watch": "karma start --single-run=false" |
|
72 | 72 | "gulp-typescript": "^3.1.3", |
73 | 73 | "gulp-yaml-validate": "^1.0.2", |
74 | 74 | "istanbul": "^1.1.0-alpha.1", |
75 | | - "istanbul-instrumenter-loader": "^1.0.0", |
| 75 | + "istanbul-instrumenter-loader": "^1.1.0", |
76 | 76 | "jsdom": "^9.8.0", |
77 | 77 | "json-loader": "^0.5.4", |
78 | 78 | "karma": "^1.3.0", |
79 | 79 | "karma-chrome-launcher": "^2.0.0", |
80 | 80 | "karma-coverage": "^1.1.1", |
81 | 81 | "karma-mocha": "^1.2.0", |
82 | 82 | "karma-mocha-reporter": "^2.2.0", |
83 | | - "karma-remap-coverage": "^0.1.2", |
| 83 | + "karma-remap-coverage": "^0.1.3", |
84 | 84 | "karma-sourcemap-loader": "^0.3.7", |
85 | 85 | "karma-webpack": "^1.8.0", |
| 86 | + "lcov-result-merger": "^1.2.0", |
86 | 87 | "merge2": "^1.0.2", |
87 | 88 | "mocha": "^3.1.2", |
88 | 89 | "react": "^15.3.2", |
89 | 90 | "react-addons-test-utils": "^15.3.2", |
90 | 91 | "react-dom": "^15.3.2", |
| 92 | + "remap-istanbul": "0.8.0", |
91 | 93 | "sinon": "^2.0.0-pre.4", |
92 | 94 | "ts-node": "~1.2.3", |
93 | 95 | "tslint": "^4.1.1", |
|
0 commit comments