|
4 | 4 | "description": "Redux bindings for React", |
5 | 5 | "main": "./lib/index.js", |
6 | 6 | "scripts": { |
7 | | - "browser": "scripts/browser", |
8 | | - "build": "scripts/build", |
9 | | - "clean": "scripts/clean", |
10 | | - "lint": "scripts/lint", |
11 | | - "prepublish": "scripts/prepublish", |
12 | | - "test": "scripts/test", |
13 | | - "test:watch": "scripts/test-watch", |
14 | | - "test:cov": "scripts/test-cov" |
| 7 | + "build:lib": "babel src --out-dir lib", |
| 8 | + "build:umd": "webpack src/index.js dist/react-redux.js --config webpack.config.development.js", |
| 9 | + "build:umd:min": "webpack src/index.js dist/react-redux.min.js --config webpack.config.production.js", |
| 10 | + "build": "npm run build:lib && npm run build:umd && npm run build:umd:min", |
| 11 | + "clean": "rimraf lib dist coverage", |
| 12 | + "lint": "eslint src test", |
| 13 | + "prepublish": "npm run clean && npm run build", |
| 14 | + "test": "mocha --compilers js:babel/register --recursive", |
| 15 | + "test:watch": "npm test -- --watch", |
| 16 | + "test:cov": "babel-node ./node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- --recursive" |
15 | 17 | }, |
16 | 18 | "repository": { |
17 | 19 | "type": "git", |
|
36 | 38 | "homepage": "https://github.com/gaearon/react-redux", |
37 | 39 | "devDependencies": { |
38 | 40 | "babel": "^5.5.8", |
39 | | - "babel-core": "5.6.15", |
| 41 | + "babel-core": "5.6.18", |
40 | 42 | "babel-eslint": "^3.1.15", |
41 | 43 | "babel-loader": "^5.1.4", |
42 | 44 | "eslint": "^0.23", |
43 | 45 | "eslint-config-airbnb": "0.0.6", |
44 | 46 | "eslint-plugin-react": "^2.3.0", |
45 | | - "expect": "^1.6.0", |
46 | | - "istanbul": "^0.3.15", |
| 47 | + "expect": "^1.8.0", |
| 48 | + "isparta": "^3.0.3", |
| 49 | + "istanbul": "^0.3.17", |
47 | 50 | "jsdom": "~5.4.3", |
48 | 51 | "mocha": "^2.2.5", |
49 | 52 | "mocha-jsdom": "~0.4.0", |
|
0 commit comments