-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.46 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
{
"name": "file-server-node",
"version": "1.0.0",
"author": {
"name": "Rong Zhuang",
"email": "[email protected]"
},
"license": "MIT",
"description": "",
"main": "src/server.ts",
"scripts": {
"start": "node dist/src/server.js",
"start-config": "ts-node start-config",
"local": "NODE_ENV=local nodemon ./src/server.ts --ignore ./uploads",
"dev": "NODE_ENV=dev npm run start-config && nodemon ./src/server.ts --ignore ./uploads",
"file": "NODE_ENV=file npm run start-config && nodemon ./src/server.ts --ignore ./uploads",
"video": "NODE_ENV=video npm run start-config && nodemon ./src/server.ts --ignore ./uploads",
"prod": "NODE_ENV=prod npm run start-config && npm run build && npm run start",
"dev2": "ts-node ./src/server.ts",
"build": "rimraf ./dist && tsc && cp -R -v src/public dist/src",
"build-prod": "ts-node start-config-prod && rimraf ./dist && tsc && cp -R -v src/public dist/src",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"test": "jest"
},
"private": true,
"keywords": [],
"dependencies": {
"@types/app-root-path": "^1.2.4",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.8",
"@types/dotenv-flow": "^3.1.0",
"@types/express-list-endpoints": "^4.0.1",
"@types/jest": "^26.0.15",
"@types/mkdirp": "^1.0.1",
"@types/morgan": "^1.9.1",
"@types/multer": "^1.4.4",
"@types/ncp": "^2.0.4",
"@types/node": "^14.14.2",
"@types/serve-favicon": "^2.5.1",
"app-root-path": "^3.0.0",
"body-parser": "^1.19.0",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"cookie-parser": "^1.4.5",
"dotenv-flow": "^3.2.0",
"express": "^4.17.1",
"express-list-endpoints": "^5.0.0",
"install": "^0.13.0",
"jest": "^26.6.1",
"jszip": "^3.5.0",
"lint-staged": "^10.5.0",
"mkdirp": "^1.0.4",
"moment": "^2.29.1",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"ncp": "^2.0.0",
"npm": "^6.14.11",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"serve-favicon": "^2.5.0",
"ts-jest": "^26.4.3",
"ts-node": "^9.0.0",
"typescript": "^4.0.5",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "4.9.0",
"@typescript-eslint/parser": "4.9.0",
"eslint": "7.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-prettier": "3.2.0",
"nodemon": "^2.0.6"
}
}