|
8 | 8 | "type": "git", |
9 | 9 | "url": "https://github.com/{{ownerName}}/{{componentName}}.git" |
10 | 10 | }, |
11 | | - "keywords": ["vue", "sfc", "component"], |
12 | | - "files": ["src", "dist"], |
| 11 | + "keywords": [ |
| 12 | + "vue", |
| 13 | + "sfc", |
| 14 | + "component" |
| 15 | + ], |
| 16 | + "files": [ |
| 17 | + "src", |
| 18 | + "dist" |
| 19 | + ], |
13 | 20 | "main": "dist/{{componentName}}.umd.js", |
14 | 21 | "module": "dist/{{componentName}}.esm.js", |
15 | 22 | "unpkg": "dist/{{componentName}}.min.js", |
|
20 | 27 | "dev": "vue-styleguidist server", |
21 | 28 | "test": "jest --verbose", |
22 | 29 | "doc": "vue-styleguidist build", |
23 | | - "build": |
24 | | - "npm run build:unpkg & npm run build:es & npm run build:umd & npm run doc", |
25 | | - "build:umd": |
26 | | - "rollup --config build/rollup.config.js --format umd --file dist/{{componentName}}.umd.js", |
27 | | - "build:es": |
28 | | - "rollup --config build/rollup.config.js --format es --file dist/{{componentName}}.esm.js", |
29 | | - "build:unpkg": |
30 | | - "rollup --config build/rollup.config.js --format iife --file dist/{{componentName}}.min.js", |
| 30 | + "build": "npm run build:unpkg & npm run build:es & npm run build:umd & npm run doc", |
| 31 | + "build:umd": "rollup --config build/rollup.config.js --format umd --file dist/{{componentName}}.umd.js", |
| 32 | + "build:es": "rollup --config build/rollup.config.js --format es --file dist/{{componentName}}.esm.js", |
| 33 | + "build:unpkg": "rollup --config build/rollup.config.js --format iife --file dist/{{componentName}}.min.js", |
31 | 34 | "stdver": "standard-version -m '[skip ci] chore(release): v%s'", |
32 | 35 | "release": "gren release --override" |
33 | 36 | }, |
|
42 | 45 | "glob": "^7.1.3", |
43 | 46 | "husky": "1.3.1", |
44 | 47 | "jest": "^24.8.0", |
| 48 | + "less": "^3.9.0", |
| 49 | + "less-loader": "^5.0.0", |
45 | 50 | "lint-staged": "^8.1.0", |
46 | 51 | "minimist": "^1.2.0", |
47 | 52 | "prettier": "1.18.2", |
|
53 | 58 | "standard-version": "^6.0.1", |
54 | 59 | "stylelint": "^9.10.0", |
55 | 60 | "stylelint-config-standard": "^18.2.0", |
56 | | - "stylus": "^0.54.5", |
57 | | - "stylus-loader": "^3.0.2", |
58 | 61 | "vue": "^2.6.10", |
59 | 62 | "vue-loader": "^15.7.1", |
60 | 63 | "vue-styleguidist": "^3.16.3", |
|
76 | 79 | } |
77 | 80 | }, |
78 | 81 | "lint-staged": { |
79 | | - "*.(js|md)": [ |
| 82 | + "*.(js|md|json)": [ |
80 | 83 | "prettier --write", |
81 | 84 | "git add" |
82 | 85 | ], |
|
0 commit comments