|
4 | 4 | "description": "The most simple HTML5 form validator", |
5 | 5 | "main": "dist/index.js", |
6 | 6 | "scripts": { |
7 | | - "build": "webpack" |
| 7 | + "dist": "babel src/index.js --out-file dist/index.js", |
| 8 | + "minify": "babel src/index.js --out-file dist/index.min.js --presets minify,@babel/env", |
| 9 | + "build": "npm run dist && npm run minify" |
8 | 10 | }, |
9 | 11 | "repository": { |
10 | 12 | "type": "git", |
|
24 | 26 | "devDependencies": { |
25 | 27 | "@babel/cli": "^7.0.0-beta.51", |
26 | 28 | "@babel/core": "^7.0.0-beta.51", |
| 29 | + "@babel/plugin-proposal-class-properties": "7.0.0-beta.54", |
| 30 | + "@babel/plugin-proposal-decorators": "7.0.0-beta.54", |
| 31 | + "@babel/plugin-proposal-export-namespace-from": "7.0.0-beta.54", |
| 32 | + "@babel/plugin-proposal-function-sent": "7.0.0-beta.54", |
| 33 | + "@babel/plugin-proposal-json-strings": "7.0.0-beta.54", |
| 34 | + "@babel/plugin-proposal-numeric-separator": "7.0.0-beta.54", |
| 35 | + "@babel/plugin-proposal-throw-expressions": "7.0.0-beta.54", |
| 36 | + "@babel/plugin-syntax-dynamic-import": "7.0.0-beta.54", |
| 37 | + "@babel/plugin-syntax-import-meta": "7.0.0-beta.54", |
| 38 | + "@babel/plugin-transform-modules-umd": "^7.0.0-rc.1", |
27 | 39 | "@babel/preset-env": "^7.0.0-beta.51", |
28 | | - "@babel/preset-stage-2": "^7.0.0-beta.51", |
29 | | - "babel-loader": "^8.0.0-beta", |
30 | | - "unminified-webpack-plugin": "^2.0.0", |
31 | | - "webpack": "^4.12.0", |
32 | | - "webpack-cli": "^3.0.8" |
| 40 | + "babel-loader": "^8.0.0-beta.0", |
| 41 | + "babel-minify": "^0.4.3" |
33 | 42 | } |
34 | 43 | } |
0 commit comments