-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.16 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
{
"name": "leetcode",
"version": "1.0.0",
"description": "leetcode and algorithms",
"main": "index.js",
"scripts": {
"ncu": "ncu -u",
"test": "cross-env NODE_ENV=test jest",
"test:watch": "cross-env NODE_ENV=test jest --env=jsdom",
"test:coverage": "cross-env NODE_ENV=test jest --coverage",
"lint": "eslint \"./src/**/*.ts\" --fix",
"lint-staged:ts": "eslint"
},
"author": "lyw",
"license": "MIT",
"engines": {
"node": ">=8.0.0"
},
"dependencies": {
"benchmark": "^2.1.4",
"typescript": "^5.3.3"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"npm-check-updates": "^16.14.15",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2"
},
"lint-staged": {
"**/*.{js,ts,json}": [
"prettier --config .prettierrc --write",
"git add"
],
"**/*.{ts}": "npm run lint-staged:ts"
}
}