-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.41 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": "my-package",
"version": "1.0.0",
"main": "./lib/index.js",
"scripts": {
"build": "tsc",
"rebuild": "yarn clean && yarn build",
"example": "yarn --cwd example",
"clean": "rm -rf ./lib/",
"lint": "eslint ./src/ --fix",
"prepare": "husky install",
"semantic-release": "semantic-release",
"test:watch": "jest --watch",
"test": "jest --coverage",
"typecheck": "tsc --noEmit",
"dev": "tsc-watch --onSuccess \"yarn example relink\"",
"clear": "yarn clean && rm -rf node_modules && cd example && rm -rf node_modules",
"bootstrap": "python setup.py && yarn && yarn build && yarn example && git commit --amend --no-edit"
},
"repository": "https://github.com/mikezzb/typescript-template.git",
"author": "mikezzb <[email protected]>",
"license": "MIT",
"lint-staged": {
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
},
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/node": "^18.6.3",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^28.1.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"tsc-watch": "^5.0.3",
"typescript": "^4.7.4"
}
}