-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
67 lines (67 loc) · 1.92 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
{
"name": "base-server",
"version": "1.0.3",
"main": "index.js",
"private": "true",
"author": "梁柱 <[email protected]>",
"description": "TS files copy to other project",
"license": "MIT",
"scripts": {
"test": "jest --watch",
"coverage": "jest --coverage=true && open-cli ./coverage/lcov-report/index.html",
"eslint-server": "eslint --ext .tsx,.ts --cache --fix ./server",
"build:dev": "node rollup.server.js env=dev",
"build:test": "node rollup.server.js env=test",
"build:prod": "node rollup.server.js env=prod",
"ser": "yarn build:dev -w"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./{server}/**/*.{ts,tsx,js}": [
"npm run eslint-server"
]
},
"dependencies": {
"node-fetch": "^2.6.1",
"fastify": "^3.1.1",
"fastify-compress": "^3.2.2",
"fastify-cors": "^4.1.0",
"fastify-helmet": "^4.0.2",
"fastify-static": "^3.2.0",
"fs-extra": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@prefresh/vite": "^0.10.0",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.13",
"@types/node": "^14.0.26",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"esbuild": "^0.6.32",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.2.11",
"open-cli": "^6.0.1",
"prettier": "^2.0.5",
"rollup": "^2.23.0",
"rollup-plugin-esbuild": "^2.4.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.27.1",
"rollup-plugin-uglify": "^6.0.4",
"typescript": "3.9.6"
}
}