|
4 | 4 | "description":"Smart Router for vue-router", |
5 | 5 | "main":"dist/vue-smart-route.js", |
6 | 6 | "files": [ |
7 | | -"dist", |
8 | | -"src" |
| 7 | +"dist" |
9 | 8 | ], |
10 | 9 | "scripts": { |
11 | 10 | "test":"exit 0;", |
12 | | -"build":"cross-env NODE_ENV=production webpack --config webpack.config.js", |
13 | | -"dev":"poi example/main.js", |
14 | | -"gh-pages":"poibuild --public-path . --out-dir=example-distexample/main.js&& gh-pages -d example-dist" |
| 11 | +"build":"poi src/vue-smart-route.js --prod --format umd --module-name VueSmartRoute --file-names.js vue-smart-route.js", |
| 12 | +"dev":"poi example/main.js --serve", |
| 13 | +"gh-pages":"poiexample/main.js --prod --public-url . --out-dir=example/dist && gh-pages -d example/dist" |
15 | 14 | }, |
16 | 15 | "repository": { |
17 | 16 | "type":"git", |
|
53 | 52 | "gh-pages":"^2.0.1", |
54 | 53 | "husky":"^1.2.0", |
55 | 54 | "lint-staged":"^8.1.0", |
56 | | -"poi":"^10.2.11", |
| 55 | +"poi":"^12.0.0-beta.6", |
57 | 56 | "prettier":"^1.15.3", |
| 57 | +"vue":"^2.5.17", |
58 | 58 | "vue-router":"^3.0.2", |
59 | | -"webpack":"^4.26.1", |
60 | | -"webpack-cli":"^3.1.2" |
| 59 | +"vue-template-compiler":"^2.5.17" |
61 | 60 | }, |
62 | 61 | "husky": { |
63 | 62 | "hooks": { |
|