-
Notifications
You must be signed in to change notification settings - Fork 102
/
package.json
186 lines (186 loc) · 9.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "@dgiot/dgiot-dashboard",
"version": "4.9.0",
"author": "dgiot",
"license": "MPL-2.0",
"private": false,
"homepage": "https://github.com/dgiot/iotStudio.git",
"scripts": {
"dev": "vue-cli-service serve",
"start": "vue-cli-service serve",
"serve": "vue-cli-service serve",
"postinstall": "patch-package",
"test": "vue-cli-service lint --fix",
"release": "npm run changelog:en && npm run changelog:zh",
"standard": "standard-version -r patch -n && npm run release",
"dgiot:install": "start ./pnpm.sh",
"build": "vue-cli-service build --report",
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit",
"lint": "vue-cli-service lint",
"lint:fix": "vue-cli-service lint --fix",
"lint:style": "stylelint **/*.{vue,scss} --fix",
"image-webpack-loader": "cnpm install --save-dev image-webpack-loader",
"inspect": "vue-cli-service inspect",
"ncu": "npm run global add npm-check-updates",
"update": "ncu -u --reject eslint,sass-loader,compression-webpack-plugin --registry https://registry.npmmirror.com&&npm install --registry=https://registry.npmmirror.com",
"changelog:zh": "rimraf CHANGELOG.md CHANGELOG.ZH.md && conventional-changelog -p angular -i CHANGELOG.md -r 0 -s && cp -r CHANGELOG.md CHANGELOG.ZH.md",
"changelog:en": "rimraf CHANGELOG.EN.md && conventional-changelog -p angular -i CHANGELOG.EN.md -r 0 -s",
"clear": "npm cache clean -f && rimraf node_modules",
"clear:install": "npm install -g rimraf && run-s clear install",
"checkout:main": "git checkout master && git pull origin master && git checkout main && git pull origin main && rimraf .git && mkdir .git && cp -r .git/* .git && if exist .git echo '.git'",
"use:pmpm": "npm i -g pnpm --registry=https://registry.npmmirror.com",
"use:github": "rimraf .git/config && rimraf .git && mkdir .git && cp -r github/* .git && npm run remoteinfo && npm run copy:config && git pull origin master && npm run changelog:zh && npm run changelog:en && git add . && git cz",
"use:github:main": "rimraf .git/config && rimraf .git && mkdir .git && cp -r github/* .git && npm run remoteinfo && npm run copy:config && git pull origin main && npm run changelog:zh && npm run changelog:en && git add . && git cz",
"use:gitbit": "rimraf .git/config && rimraf .git && mkdir .git && cp -r gitbit/* .git && npm run remoteinfo && git pull origin master && npm run changelog:zh && npm run changelog:en && git add . && git cz",
"remoteinfo": "git remote -v",
"swagger": "curl -OL http://dev.iotn2n.com/swagger.json",
"set:github": "npm run remoteinfo && git push origin master && rimraf github && mkdir github && cp -r .git/* github && if exist github echo '.git'",
"push": "rimraf swagger.json && npm run use:github && npm run set:github",
"set:github:main": "npm run remoteinfo && git push origin main && rimraf .git && mkdir .git && cp -r gitbit .git && if exist .git echo '.git'",
"set:gitbit": "npm run remoteinfo && git push origin master && rimraf gitbit && mkdir gitbit && cp -r gitbit gitbit && if exist gitbit echo 'gitbit'",
"copy:config": "mv src/config/developer.config.js src/config/loca.config.js && cp src/config/developer.lock.js src/config/developer.config.js && echo 'copy config done'",
"reset:config": "rm src/config/developer.config.js && mv src/config/loca.config.js src/config/developer.config.js && echo 'reset config done'",
"downCdn": "node utils/downCdn.js",
"downIconfront": "node utils/downIconfront.js",
"changelog": "pnpm changelog:zh && changelog:zh",
"cp:git": "rimraf github && cp -r .git github",
"rmEnv": "rimraf .env",
"local:server": "node utils/server.js",
"lighthouse": "node utils/lighthouse.js",
"prod": "lighthouse https://dev.iotn2n.com/",
"template": "plop",
"config:delete": "rimraf vue.config.js package.json pnpm-lock.yaml",
"config:all": "node config:delete && cp -r config/all",
"config:lite": "node config:delete && cp -r config/lite",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dgiot/iotStudio.git"
},
"dependencies": {
"@dgiot/dgiot-component": "0.0.3",
"@dgiot/dgiot-icons": "0.0.19",
"@dgiot/dgiot-monaco": "^0.2.2",
"@material/icon-button": "13.0.0",
"amis": "1.9.1-beta.11",
"amis-editor": "4.1.0-beta.24",
"cache-loader": "^4.1.0",
"driver.js": "^0.9.8",
"pnpm": "^7.3.0",
"rc-input-number": "7.3.11",
"register-service-worker": "1.7.2",
"resize-detector": "0.3.0",
"vditor": "^3.8.15",
"vue": "^2.5.17",
"vue-amis-sdk": "1.10.3",
"vue-audio-visual": "^2.4.0",
"vue-contextmenu": "1.5.11",
"vue-infinite-scroll": "^2.0.2",
"vue-seamless-scroll": "^1.1.23",
"vuera": "0.2.7"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/helper-define-polyfill-provider": "^0.3.1",
"@babel/helper-plugin-utils": "7.14.5",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/runtime": "7.16.3",
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@dgiot/dgiot-mqtt-dashboard": "1.1.7",
"@vue/cli-plugin-babel": "^4.5.15",
"@vue/cli-plugin-eslint": "^4.5.15",
"@vue/cli-plugin-router": "^4.5.15",
"@vue/cli-plugin-vuex": "^4.5.15",
"@vue/cli-service": "^4.5.15",
"@vue/eslint-config-prettier": "6.0.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-polyfill-corejs2": "^0.3.1",
"babel-plugin-transform-remove-console": "6.9.4",
"body-parser": "1.19.0",
"chalk": "4.1.2",
"chokidar": "3.5.3",
"chrome-launcher": "0.15.0",
"clean-webpack-plugin": "4.0.0",
"commitizen": "4.2.4",
"compression-webpack-plugin": "^6.1.1",
"conventional-changelog-cli": "^2.2.2",
"copy-to-clipboard": "3.3.1",
"core-js": "3.19.1",
"cross-env": "^5.0.5",
"css-loader": "^3.5.3",
"cz-conventional-changelog": "3.3.0",
"cz-customizable": "6.3.0",
"element-ui": "2.15.6",
"esbuild-loader": "^2.18.0",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-vue": "8.0.3",
"file-loader": "6.2.0",
"fork-ts-checker-webpack-plugin": "6.5.0",
"hard-source-webpack-plugin": "0.13.1",
"http-proxy-middleware": "^2.0.6",
"husky": "8.0.1",
"increase-memory-limit": "^1.0.7",
"indent-string": "5.0.0",
"lighthouse": "8.6.0",
"lint-staged": "11.2.6",
"node-cmd": "^5.0.0",
"npm-run-all": "^4.1.5",
"patch-package": "^6.5.1",
"plop": "^2.7.6",
"prettier": "2.4.1",
"pushstate-server": "3.1.0",
"q": "^1.5.1",
"raw-loader": "4.0.2",
"react": "16.14.0",
"react-dom": "16.14.0",
"rimraf": "3.0.2",
"sass": "~1.32.13",
"sass-loader": "^10.2.0",
"shelljs": "0.8.4",
"speed-measure-webpack-plugin": "1.5.0",
"standard-version": "^9.3.2",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recess-order": "^3.0.0",
"svg-sprite-loader": "6.0.11",
"typescript": "4.6.2",
"url-loader": "4.1.1",
"vue": "^3.2.13",
"vue-eslint-parser": "8.0.1",
"vue-loader": "^15.9.2",
"vue-template-compiler": "2.6.14",
"webpack": "4.46.0",
"webpackbar": "5.0.2"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,vue}": [
"vue-cli-service lint"
]
},
"engines": {
"node": ">= 12.0.0",
"npm": ">= 3.0.0"
},
"description": "<p align=\"center\"> <img src=\"https://img.shields.io/github/commit-activity/m/dgiot/dgiot-dashboard\" alt=\"ommit-activity\"> \t<img src=\"https://badgen.net/badge/package/%40dgiot%2Fdgiot-dashboard/blue\" \talt=\"package\" maxretrytimes=\"3\" class=\"m-1 transition-all duration-1000\"> \t<img src=\"https://badgen.net/npm/v/@dgiot/dgiot-dashboard\" alt=\"Npm Version\" \tmaxretrytimes=\"3\" class=\"m-1 transition-all duration-1000\"> \t<img src=\"https://badgen.net/npm/node/@dgiot/dgiot-mqtt-dashboard\" alt=\"Node Version\" \tmaxretrytimes=\"3\" class=\"m-1 transition-all duration-1000\"> \t<br> \t<img src=\"https://badgen.net/jsdelivr/hits/npm/@dgiot/dgiot-dashboard\" \talt=\"Jsdeliver Month Downloads\" maxretrytimes=\"3\" class=\"m-1 transition-all duration-1000\"> \t<img src=\"https://badgen.net/npm/types/@dgiot/dgiot-dashboard\" alt=\"Type Support\" \tmaxretrytimes=\"3\" class=\"m-1 transition-all duration-1000\"> <img src=\"https://img.shields.io/badge/Community-DGIOT-yellow\" alt=\"Community\"> <img src=\"https://img.shields.io/docker/pulls/dgiot/dgiot-dashboard\" alt=\"docker\"> \t<br> \t<img src=\"https://img.shields.io/librariesio/release/npm/@dgiot/dgiot-dashboard\" \talt=\"Outdated Dep\" maxretrytimes=\"3\" class=\"m-1 transition-all duration-1000\"> \t<img src=\"https://img.shields.io/snyk/vulnerabilities/npm/@dgiot/dgiot-dashboard\" \talt=\"Vulnerablities\" maxretrytimes=\"3\" class=\"m-1 transition-all duration-1000\"> <img src=\"https://img.shields.io/github/release/dgiot/dgiot-dashboard?color=brightgreen\" alt=\"release\"> <img src=\"https://img.shields.io/github/license/dgiot/dgiot-dashboard\" alt=\"license\"> <img src=\"https://img.shields.io/travis/dgiot/dgiot-dashboard/master\" alt=\"travis\"> <p>",
"bugs": {
"url": "https://github.com/dgiot/iotStudio/issues"
},
"main": ".eslintrc.js",
"keywords": []
}