|
1 | 1 | { |
2 | 2 | "name": "react-constant", |
3 | | - "version": "1.1.2", |
| 3 | + "version": "1.2.0", |
4 | 4 | "description": "Fuck off constants.js and golobal constants in react/flux/redux/wateva.", |
5 | 5 | "main": "lib/index.js", |
6 | 6 | "files": [ |
|
11 | 11 | "scripts": { |
12 | 12 | "clean": "rimraf lib dist coverage", |
13 | 13 | "lint": "eslint src test examples", |
14 | | - "test": "mocha --compilers js:babel-core/register --recursive", |
15 | | - "test:watch": "npm test -- --watch", |
| 14 | + "test":"karma start --single-run", |
| 15 | + "test-node": "mocha --compilers js:babel-core/register --recursive", |
| 16 | + "test:watch": "karma start karma.conf.js --auto-watch", |
| 17 | + "test-node:watch": "mocha --compilers js:babel-core/register --recursive --watch", |
16 | 18 | "check": "npm run lint && npm run test", |
17 | 19 | "build:lib": "babel src --out-dir lib", |
18 | 20 | "build:umd": "webpack src/index.js dist/constant.js --config webpack.config.development.js", |
|
45 | 47 | "babel-preset-stage-0": "^6.1.18", |
46 | 48 | "eslint": "^1.10.1", |
47 | 49 | "eslint-config-rackt": "^1.1.1", |
| 50 | + "karma": "^0.13.15", |
| 51 | + "karma-mocha": "^0.2.1", |
| 52 | + "karma-phantomjs-launcher": "^0.2.1", |
| 53 | + "karma-phantomjs-shim": "^1.0.0", |
| 54 | + "karma-sourcemap-loader": "^0.3.5", |
| 55 | + "karma-webpack": "^1.7.0", |
48 | 56 | "mocha": "^2.3.4", |
| 57 | + "phantomjs": "^1.9.19", |
49 | 58 | "rimraf": "^2.4.4", |
50 | | - "should": "^7.1.1", |
51 | | - "webpack": "^1.12.8" |
| 59 | + "should": "^7.1.1" |
52 | 60 | } |
53 | 61 | } |
0 commit comments