|
8 | 8 | "prepublish": "npm run transpile",
|
9 | 9 | "transpile": "babel -d lib src/",
|
10 | 10 | "build": "npm run build-docs",
|
11 |
| - "build-docs": "webpack examples/src examples/dist/app.js --module-bind js=babel-loader", |
| 11 | + "build-docs": "webpack --mode=production examples/src examples/dist/app.js --module-bind js=babel-loader", |
12 | 12 | "precommit": "lint-staged"
|
13 | 13 | },
|
14 | 14 | "lint-staged": {
|
|
32 | 32 | },
|
33 | 33 | "license": "MIT",
|
34 | 34 | "dependencies": {
|
35 |
| - "prop-types": "^15.5.10", |
36 |
| - "react": "^15.6.1" |
| 35 | + "prop-types": "^15.6.1", |
| 36 | + "react": "^16.2.0" |
37 | 37 | },
|
38 | 38 | "devDependencies": {
|
39 |
| - "babel-cli": "^6.24.1", |
40 |
| - "babel-loader": "^7.1.1", |
41 |
| - "babel-preset-latest": "^6.24.1", |
| 39 | + "babel-cli": "^6.26.0", |
| 40 | + "babel-env": "^2.4.1", |
| 41 | + "babel-loader": "^7.1.4", |
42 | 42 | "babel-preset-react": "^6.24.1",
|
43 | 43 | "babel-preset-stage-0": "^6.24.1",
|
44 | 44 | "husky": "^0.14.3",
|
45 |
| - "lint-staged": "^4.0.3", |
46 |
| - "prettier": "^1.5.3", |
47 |
| - "react-dom": "^15.6.1", |
48 |
| - "react-highlight": "^0.10.0", |
49 |
| - "react-mt-svg-lines": "^0.7.3", |
50 |
| - "webpack": "^3.3.0" |
| 45 | + "lint-staged": "^7.0.0", |
| 46 | + "prettier": "^1.11.1", |
| 47 | + "react-dom": "^16.2.0", |
| 48 | + "react-highlight": "^0.11.1", |
| 49 | + "react-mt-svg-lines": "^0.8.3", |
| 50 | + "webpack": "^4.2.0", |
| 51 | + "webpack-cli": "^2.0.12" |
51 | 52 | },
|
52 | 53 | "babel": {
|
53 | 54 | "presets": [
|
54 | 55 | "react",
|
55 |
| - "latest", |
| 56 | + "env", |
56 | 57 | "stage-0"
|
57 | 58 | ]
|
58 | 59 | }
|
|
0 commit comments