generated from ATQQ/node-server
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
74 lines (74 loc) · 2.05 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
{
"name": "@sugarat/easypicker2-server",
"version": "2.7.1",
"description": "EasyPicker(轻取)- 服务端",
"author": "ATQQ",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ATQQ/easypicker2-server.git"
},
"main": "dist/index.js",
"files": [
".env",
"dist",
"docs",
"package.json"
],
"scripts": {
"dev": "cross-env NODE_ENV=development FW_LOGGING=true run-p build:watch dev:server",
"dev:server": "nodemon dist/index.js --ignore 'upload/*' --ignore user-config.json",
"build:watch": "tsup --watch",
"start:ts": "esno ./src/index.ts",
"start": "cross-env NODE_ENV=production node ./dist/index.js",
"test": "vitest",
"deploy": "zx scripts/deploy/env-prod.mjs",
"deploy:test": "zx scripts/deploy/env-test.mjs",
"build": "tsup",
"upload:oss": "pnpm build && q ep server -up",
"update:version": "npm version prerelease --preid=beta --no-git-tag-version",
"postinstall": "npx simple-git-hooks",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@swc/core": "^1.3.68",
"cross-env": "^7.0.3",
"dayjs": "^1.11.7",
"flash-wolves": "^0.4.1",
"formidable": "^2.0.1",
"mongodb": "^3.7.3",
"mysql": "^2.18.1",
"qiniu": "^7.4.0",
"redis": "^3.1.2",
"reflect-metadata": "^0.1.13",
"tencentcloud-sdk-nodejs": "^4.0.318",
"typeorm": "^0.3.17"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.2",
"@types/mongodb": "^3.6.20",
"@types/mysql": "^2.15.21",
"@types/node": "^14.18.11",
"@types/redis": "^2.8.32",
"eslint": "^9.6.0",
"eslint-plugin-format": "^0.1.2",
"esno": "^0.14.1",
"lint-staged": "^15.2.7",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"simple-git-hooks": "^2.11.1",
"ts-node": "^10.9.1",
"tsup": "^7.1.0",
"typescript": "^4.5.5",
"vitest": "^0.9.2",
"zx": "^5.1.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}