|
3 | 3 | "version": "4.0.0-pre", |
4 | 4 | "description": "A router for React.js", |
5 | 5 | "repository": "ReactJSTraining/react-router", |
6 | | - "scripts": { |
7 | | - "start": "cd docs && npm start", |
8 | | - "lint": "eslint modules" |
9 | | - }, |
| 6 | + "license": "MIT", |
10 | 7 | "authors": [ |
11 | 8 | "Michael Jackson", |
12 | 9 | "Ryan Florence" |
13 | 10 | ], |
14 | | - "license": "MIT", |
15 | | - "peerDependencies": { |
16 | | - "react": "^15.1.0", |
17 | | - "react-dom": "^15.1.0" |
| 11 | + "scripts": { |
| 12 | + "start": "cd docs && npm start", |
| 13 | + "build-lib": "rimraf lib && babel ./modules -d lib --ignore '__tests__'", |
| 14 | + "build-umd": "webpack modules/index.js umd/react-router.js", |
| 15 | + "build-min": "webpack -p modules/index.js umd/react-router.min.js", |
| 16 | + "build": "node ./scripts/build.js", |
| 17 | + "prepublish": "node ./scripts/build.js", |
| 18 | + "lint": "eslint modules" |
18 | 19 | }, |
19 | 20 | "dependencies": { |
20 | 21 | "history": "^3.0.0", |
21 | 22 | "path-to-regexp": "^1.5.0" |
22 | 23 | }, |
| 24 | + "peerDependencies": { |
| 25 | + "react": "^15.1.0", |
| 26 | + "react-dom": "^15.1.0" |
| 27 | + }, |
23 | 28 | "devDependencies": { |
| 29 | + "babel-cli": "^6.10.1", |
24 | 30 | "babel-core": "^6.9.1", |
25 | 31 | "babel-eslint": "^6.0.4", |
| 32 | + "babel-loader": "^6.2.4", |
26 | 33 | "babel-preset-es2015": "^6.9.0", |
27 | 34 | "babel-preset-react": "^6.5.0", |
28 | 35 | "babel-preset-stage-1": "^6.5.0", |
29 | 36 | "eslint": "^2.12.0", |
30 | 37 | "eslint-plugin-import": "^1.8.1", |
31 | 38 | "eslint-plugin-react": "^5.1.1", |
| 39 | + "gzip-size": "^3.0.0", |
| 40 | + "in-publish": "^2.0.0", |
| 41 | + "pretty-bytes": "^3.0.1", |
32 | 42 | "react": "^15.1.0", |
33 | 43 | "react-dom": "^15.1.0", |
34 | 44 | "react-redux": "^4.4.5", |
35 | 45 | "redux": "^3.5.2", |
| 46 | + "rimraf": "^2.5.2", |
36 | 47 | "webpack": "^1.13.1", |
37 | 48 | "webpack-dev-server": "^1.14.1" |
38 | 49 | }, |
|
0 commit comments