|
22 | 22 | "start": "webpack-dev-server --inline --content-base examples/",
|
23 | 23 | "website": "run-s website:clean website:build website:redirect",
|
24 | 24 | "website:clean": "rimraf examples/dist",
|
25 |
| - "website:build": "cross-env NODE_ENV=production webpack", |
| 25 | + "website:build": "cross-env BABEL_TARGET=examples NODE_ENV=production webpack", |
26 | 26 | "website:redirect": "cp -R examples/src/example examples/dist"
|
27 | 27 | },
|
28 | 28 | "repository": {
|
|
57 | 57 | "@babel/plugin-external-helpers": "^7.0.0-beta.40",
|
58 | 58 | "@babel/plugin-proposal-class-properties": "^7.0.0-beta.40",
|
59 | 59 | "@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.40",
|
| 60 | + "@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.44", |
60 | 61 | "@babel/preset-env": "^7.0.0-beta.40",
|
61 | 62 | "@babel/preset-react": "^7.0.0-beta.40",
|
62 | 63 | "babel-core": "^7.0.0-0",
|
63 | 64 | "babel-eslint": "^8.0.1",
|
64 | 65 | "babel-jest": "^22.2.2",
|
65 |
| - "babel-loader": "^7.1.2", |
| 66 | + "babel-loader": "^8.0.0-0", |
66 | 67 | "babel-plugin-transform-react-remove-prop-types": "^0.4.0",
|
67 | 68 | "conventional-github-releaser": "^2.0.0",
|
68 | 69 | "cross-env": "^5.0.0",
|
|
76 | 77 | "eslint-plugin-jsx-a11y": "^6.0.2",
|
77 | 78 | "eslint-plugin-prettier": "^2.2.0",
|
78 | 79 | "eslint-plugin-react": "^7.0.1",
|
79 |
| - "extract-text-webpack-plugin": "^3.0.2", |
80 | 80 | "hoist-non-react-statics": "^2.3.1",
|
81 | 81 | "html-loader": "^0.5.1",
|
82 |
| - "html-webpack-plugin": "^2.30.1", |
| 82 | + "html-webpack-plugin": "^3.2.0", |
83 | 83 | "husky": "^0.14.3",
|
84 | 84 | "jest": "^22.3.0",
|
85 |
| - "less": "^2.7.3", |
| 85 | + "less": "^3.0.1", |
86 | 86 | "less-loader": "^4.0.5",
|
87 |
| - "lint-staged": "^6.0.0", |
| 87 | + "lint-staged": "^7.0.4", |
| 88 | + "mini-css-extract-plugin": "^0.4.0", |
88 | 89 | "npm-run-all": "^4.1.1",
|
89 | 90 | "prettier": "^1.2.2",
|
90 | 91 | "react": "^16.0.0",
|
|
93 | 94 | "react-modal": "^3.0.0",
|
94 | 95 | "react-test-renderer": "^16.0.0",
|
95 | 96 | "rimraf": "^2.5.2",
|
96 |
| - "rollup": "^0.56.1", |
| 97 | + "rollup": "^0.58.0", |
97 | 98 | "rollup-plugin-babel": "^4.0.0-beta.1",
|
98 |
| - "rollup-plugin-commonjs": "^8.2.6", |
| 99 | + "rollup-plugin-commonjs": "^9.1.0", |
99 | 100 | "rollup-plugin-ignore": "^1.0.3",
|
100 | 101 | "rollup-plugin-node-resolve": "^3.0.0",
|
101 | 102 | "rollup-plugin-replace": "^2.0.0",
|
102 | 103 | "rollup-plugin-uglify": "^3.0.0",
|
103 | 104 | "standard-version": "^4.2.0",
|
104 | 105 | "style-loader": "^0.20.0",
|
105 | 106 | "uglifyjs-webpack-plugin": "^1.0.1",
|
106 |
| - "webpack": "^3.6.0", |
107 |
| - "webpack-dev-server": "^2.9.4" |
| 107 | + "webpack": "^4.6.0", |
| 108 | + "webpack-cli": "^2.0.14", |
| 109 | + "webpack-dev-server": "^3.1.3" |
108 | 110 | },
|
109 | 111 | "dependencies": {
|
110 | 112 | "classnames": "^2.2.0",
|
|
118 | 120 | },
|
119 | 121 | "lint-staged": {
|
120 | 122 | "src/**/*.js": [
|
121 |
| - "eslint --fix", |
| 123 | + "yarn run eslint --fix", |
122 | 124 | "git add"
|
123 | 125 | ]
|
124 | 126 | }
|
|
0 commit comments