|
22 | 22 | "clean": "rm -r -f dist", |
23 | 23 | "ci:coveralls": "cat coverage/lcov.info | coveralls", |
24 | 24 | "lint": "gulp lint", |
25 | | - "test": "cross-env NODE_ENV=test karma start", |
26 | | - "test:coverage": "cross-env NODE_ENV=coverage TS_NODE_PROJECT=./tsconfig.coverage.json nyc mocha --opts mocha.opts", |
27 | | - "test:watch": "cross-env NODE_ENV=test karma start --single-run=false" |
| 25 | + "test": "npm run test:unit && npm run test:integration", |
| 26 | + "test:unit": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts", |
| 27 | + "test:unit:watch": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --opts mocha.opts --watch", |
| 28 | + "test:integration": "cross-env NODE_ENV=test karma start", |
| 29 | + "test:integration:watch": "cross-env NODE_ENV=test karma start --single-run=false", |
| 30 | + "test:coverage": "cross-env NODE_ENV=test TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --instrument mocha --opts mocha.opts" |
28 | 31 | }, |
29 | 32 | "engines": { |
30 | 33 | "node": ">=4" |
|
49 | 52 | "@types/enzyme": "^2.5.37", |
50 | 53 | "@types/jsdom": "^2.0.29", |
51 | 54 | "@types/mocha": "^2.2.32", |
| 55 | + "@types/object-assign": "^4.0.30", |
52 | 56 | "@types/react": "^0.14.43", |
| 57 | + "@types/rewire": "^2.5.27", |
53 | 58 | "@types/sinon": "^1.16.31", |
54 | 59 | "awesome-typescript-loader": "^2.2.4", |
55 | | - "babel-core": "^6.18.2", |
56 | | - "babel-plugin-istanbul": "^2.0.3", |
57 | | - "babel-plugin-rewire": "^1.0.0", |
58 | | - "babel-plugin-transform-object-assign": "^6.8.0", |
59 | | - "babel-preset-es2015": "^6.18.0", |
60 | | - "babel-preset-react": "^6.16.0", |
61 | 60 | "cash-rm": "^0.2.0", |
62 | 61 | "chai": "^3.5.0", |
63 | 62 | "coveralls": "^2.11.14", |
|
67 | 66 | "eslint-config-airbnb-base": "^9.0.0", |
68 | 67 | "eslint-plugin-import": "^2.0.1", |
69 | 68 | "gulp": "^3.9.1", |
70 | | - "gulp-babel": "^6.1.2", |
71 | 69 | "gulp-eslint": "^3.0.1", |
72 | 70 | "gulp-jsonlint": "^1.1.2", |
73 | 71 | "gulp-sourcemaps": "^2.2.0", |
74 | 72 | "gulp-tslint": "^6.1.2", |
75 | 73 | "gulp-typescript": "^3.0.2", |
76 | 74 | "gulp-yaml-validate": "^1.0.2", |
| 75 | + "istanbul": "^1.1.0-alpha.1", |
77 | 76 | "istanbul-instrumenter-loader": "^1.0.0", |
78 | 77 | "jsdom": "^9.8.0", |
79 | 78 | "json-loader": "^0.5.4", |
|
88 | 87 | "merge2": "^1.0.2", |
89 | 88 | "mocha": "^3.1.2", |
90 | 89 | "nyc": "^8.4.0", |
| 90 | + "object-assign": "^4.1.0", |
91 | 91 | "react": "^15.3.2", |
92 | 92 | "react-addons-test-utils": "^15.3.2", |
93 | 93 | "react-dom": "^15.3.2", |
94 | 94 | "rewire": "^2.5.2", |
95 | 95 | "sinon": "^2.0.0-pre.2", |
96 | | - "ts-babel-node": "git+https://git@github.com/danielmoore/ts-babel-node.git", |
97 | 96 | "ts-node": "~1.2.3", |
98 | 97 | "tslint": "^3.15.1", |
99 | 98 | "typescript": "^2.0.6", |
|
0 commit comments