|
1 | 1 | {
|
2 | 2 | "name": "@terminus/dashboard-configurator",
|
3 | 3 | "version": "0.4.19-beta.4",
|
4 |
| - "description": "Dashboard configurator with Echart", |
5 |
| - "main": "./src/index.ts", |
6 |
| - "types": "./src/types/index.d.ts", |
| 4 | + "description": "Dice Charts with Echart", |
| 5 | + "main": "./dist/index.js", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "https://gittar.app.terminus.io/terminus-dice/dashboard-configurator" |
| 9 | + }, |
| 10 | + "keywords": [ |
| 11 | + "dice", |
| 12 | + "charts", |
| 13 | + "react", |
| 14 | + "Echarts" |
| 15 | + ], |
7 | 16 | "sideEffects": [
|
8 | 17 | "*.scss",
|
9 | 18 | "*.css",
|
10 | 19 | "*.less"
|
11 | 20 | ],
|
12 | 21 | "scripts": {
|
13 | 22 | "prewatch": "shell/check-dll.sh",
|
14 |
| - "watch": "rm -rf public/scripts && ENV=watch ./node_modules/.bin/webpack --progress --color -w -d", |
| 23 | + "watch": "rm -rf dist && ENV=watch ./node_modules/.bin/webpack --progress --color -w -d", |
15 | 24 | "preweb": "shell/check-dll.sh",
|
16 |
| - "web": "rm -rf public/scripts && webpack-dev-server --config webpack.server.js --mode=development", |
| 25 | + "web": "rm -rf dist && webpack-dev-server --config webpack.server.js --mode=development", |
17 | 26 | "dll": "webpack --config webpack_dll.config.js --mode development",
|
18 | 27 | "icon": "node tools/gen-icon",
|
19 | 28 | "province-map": "node tools/gen-province-map",
|
20 | 29 | "adcode-map": "node tools/gen-adcode-map",
|
21 |
| - "build": "rm -rf public && NODE_ENV=production ./node_modules/.bin/webpack --mode=production --color", |
22 |
| - "analyze": "rm -rf public && NODE_ENV=production ./node_modules/.bin/webpack --mode=production --config webpack.analyze.js", |
| 30 | + "build": "rm -rf dist && NODE_ENV=production ./node_modules/.bin/webpack --color", |
| 31 | + "analyze": "rm -rf dist && NODE_ENV=production ./node_modules/.bin/webpack --config webpack.analyze.js", |
23 | 32 | "commit": "./node_modules/cz-customizable/standalone.js",
|
24 | 33 | "commitmsg": "commitlint -e $GIT_PARAMS",
|
25 | 34 | "precommit": "lint-staged",
|
|
29 | 38 | "pub-alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push",
|
30 | 39 | "pub-beta": "npm version prerelease --preid beta && npm publish --tag beta && git push"
|
31 | 40 | },
|
32 |
| - "repository": { |
33 |
| - "type": "git", |
34 |
| - "url": "https://gittar.app.terminus.io/terminus-dice/dashboard-configurator" |
35 |
| - }, |
36 |
| - "keywords": [ |
37 |
| - "dashboard", |
38 |
| - "configurator", |
39 |
| - "antd", |
40 |
| - "cube-state", |
41 |
| - "Echart" |
42 |
| - ], |
43 | 41 | "author": "terminus",
|
44 | 42 | "license": "ISC",
|
45 | 43 | "dependencies": {
|
|
139 | 137 | ]
|
140 | 138 | },
|
141 | 139 | "files": [
|
| 140 | + "dist", |
142 | 141 | "src",
|
143 | 142 | "index.js",
|
144 |
| - "README.md" |
| 143 | + "README.md", |
| 144 | + "package.json" |
145 | 145 | ]
|
146 | 146 | }
|
0 commit comments