-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.89 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
{
"name": "leetcode",
"version": "2.0.0",
"description": "LeetCode problems solutions. A journal of my problem-solving journey.",
"repository": "https://github.com/squxq/LeetCode.git",
"author": "squxq <[email protected]>",
"license": "MIT",
"private": true,
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": ">=16.0.0",
"yarn": ">=1.22.0",
"npm": "Please use Yarn as your package manager instead."
},
"scripts": {
"start": "./scripts/start.sh",
"test": "jest ${1}",
"workflow": "./scripts/workflow.sh",
"comments": "./scripts/comments.sh",
"readme": "./scripts/readme.sh",
"build": "tsup ${1:-'./problems'} --format cjs,esm --dts",
"lint": "npx eslint --ignore-path .gitignore ${1:-'.'}",
"lint:fix": "npx eslint --fix --ignore-path .gitignore ${1:-'.'}",
"prettier": "prettier --check ${1:-'**/*.{ts,tsx,mdx}'} --cache .",
"prettier:fix": "prettier --write ${1:-'**/*.{ts,tsx,mdx}'} --cache .",
"typecheck": "tsc --project tsconfig.json",
"prepare": "husky install",
"commitlint": "commitlint --from=HEAD",
"permissions": "chmod -R +x ./scripts/"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@types/jest": "^29.5.4",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0"
}
}