-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.07 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
{
"name": "algorithm",
"version": "1.0.0",
"description": "本仓库中包含了常见的数据结构与算法的 js 实现",
"main": "index.js",
"scripts": {
"test": "jest test",
"lint": "eslint --cache --fix --ext .js,.jsx,.ts,.tsx src",
"prettier": "prettier --write .",
"commit": "git-cz",
"prepare": "npx husky install"
},
"author": "captain",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@commitlint/config-conventional": "^12.1.4",
"babel-eslint": "^10.1.0",
"commitlint": "^12.1.4",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"git-cz": "^4.7.6",
"husky": "^6.0.0",
"jest": "^27.0.1",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"src/**/*.{js,ts,tsx}": [
"eslint --cache --fix"
]
},
"dependencies": {}
}