-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.37 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
{
"name": "template-typescript-npm-package",
"version": "0.0.3",
"description": "template project for new npm package lib with typescript.",
"repository": "git@github.com:izayl/template-typescript-npm-package.git",
"author": "izayl <izayl@163.com>",
"license": "MIT",
"main": "index.js",
"files": [
"index.js"
],
"scripts": {
"postinstall": "husky install",
"prepublishOnly": "pinst --disable && npm run build",
"postpublish": "pinst --enable",
"release": "standard-version --no-verify",
"test": "jest",
"build": "rollup -c",
"dev": "rollup -c -w"
},
"devDependencies": {
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@izayl/eslint-config-ts": "0.4.5",
"@rollup/plugin-typescript": "8.5.0",
"@types/jest": "29.0.3",
"@types/node": "18.7.20",
"eslint": "8.24.0",
"husky": "8.0.1",
"istanbul-badges-readme": "1.8.2",
"jest": "29.0.3",
"lint-staged": "13.0.3",
"pinst": "3.0.0",
"rollup": "2.79.1",
"standard-version": "9.5.0",
"ts-jest": "29.0.2",
"ts-node": "10.9.1",
"typescript": "4.8.3"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.(js|ts)": "eslint --cache --fix",
"*.js": "eslint --cache --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}