|
12 | 12 | "start": "webpack-dev-server --hot --inline --port 3000 --config webpack.config.dev.js --content-base demo/", |
13 | 13 | "build": "babel src -d lib --copy-files", |
14 | 14 | "clean": "rimraf dist", |
| 15 | + "clean-build": "rimraf lib", |
15 | 16 | "clean-umd": "rimraf umd", |
16 | 17 | "copy-assets": "cp -a demo/assets/. dist/assets", |
17 | 18 | "copy-html-css": "cp -a demo/index.html dist/index.html && cp -a demo/index.css dist/index.css", |
18 | 19 | "dist": "npm run clean && webpack && npm run copy-assets && npm run copy-html-css", |
19 | | - "lint": "eslint src demo --fix", |
20 | | - "umd": "npm run clean-umd && webpack --config webpack.config.umd.js" |
| 20 | + "lint": "eslint src demo", |
| 21 | + "lint-fix": "eslint src demo --fix", |
| 22 | + "umd": "npm run clean-umd && webpack --config webpack.config.umd.js", |
| 23 | + "preversion": "npm run lint", |
| 24 | + "version": "npm run clean-build && npm run build && npm run umd" |
21 | 25 | }, |
22 | 26 | "author": "Ken Wheeler", |
23 | 27 | "license": "MIT", |
|
48 | 52 | "postcss-loader": "^2.0.6", |
49 | 53 | "prop-types": "^15.5.10", |
50 | 54 | "raw-loader": "^0.5.1", |
51 | | - "react": "^16.0.0", |
52 | | - "react-dom": "^16.0.0", |
| 55 | + "react": "16.0.0", |
| 56 | + "react-dom": "16.0.0", |
53 | 57 | "react-hot-loader": "^3.0.0-beta.2", |
| 58 | + "react-native": "0.50.4", |
54 | 59 | "rimraf": "^2.5.4", |
55 | 60 | "style-loader": "^0.19.0", |
56 | 61 | "webpack": "^3.6.0", |
|
0 commit comments