-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
35 lines (35 loc) · 1 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
{
"description": "cube 开发测试预览环境",
"author": "TTFE",
"repository": {
"type": "git",
"url": "git+https://github.com/ntt360/cube-dev-preview.git"
},
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"dev": "rm -rf dist && npx babel -w server -d dist",
"build": "npm run lint:js && rm -rf dist && npx babel server -d dist && cp www/index.html dist/index.html",
"lint:js": "npx eslint --ext .js server/ --format codeframe",
"lint:js:fix": "npx eslint --fix --ext .js server/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@cubetool/base": "^2.2.1",
"@koa/router": "^10.1.1",
"dotenv": "^16.0.1",
"koa": "^2.13.4",
"koa-body": "^4.2.0",
"md5": "^2.3.0",
"unzipper": "^0.10.11"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"eslint-config-prettier": "^8.5.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.6.2"
}
}