-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
69 lines (69 loc) · 1.7 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
{
"name": "leetcode",
"version": "1.0.1",
"description": "My leetcode solutions.",
"main": "index.js",
"scripts": {
"gen": "ts-node util/generate_pools.ts",
"prepare": "husky install",
"format": "prettier --write \"./**/*.{js,ts}\" \"**/*.yml\" \"**/*.toml\"",
"format:check": "prettier --list-different \"./**/*.{js,ts}\" \"**/*.yml\"",
"clean": "rimraf build",
"ts-build": "npm run clean && tsc -p ./tsconfig.json",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gengjiawen/leetcode.git"
},
"author": "gengjiawen",
"license": "MIT",
"bugs": {
"url": "https://github.com/gengjiawen/leetcode/issues"
},
"homepage": "https://github.com/gengjiawen/leetcode#readme",
"dependencies": {
"async": "^3.2.4",
"axios": "0.28.0",
"dotenv": "^16.1.4",
"fs-extra": "10.1.0",
"sequelize": "6.32.1",
"sqlite3": "5.1.6",
"to-markdown": "3.1.1"
},
"jest": {
"testEnvironment": "node",
"testTimeout": 120000,
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,md,css,html,yml}": [
"prettier --write"
]
},
"devDependencies": {
"@types/async": "^3.2.15",
"@types/fs-extra": "9.0.13",
"@types/jest": "*",
"@types/node": "20.10.1",
"@types/rimraf": "4.0.5",
"@types/sequelize": "^4.28.14",
"@types/to-markdown": "3.0.1",
"husky": "8.0.3",
"jest": "28.1.2",
"lint-staged": "^13.0.3",
"prettier": "3.2.4",
"prettier-plugin-toml": "^0.3.1",
"rimraf": "5.0.5",
"ts-jest": "28.0.5",
"ts-node": "10.9.1",
"typescript": "5.3.3"
}
}