-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.11 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
{
"name": "app-ts-boilerplate",
"version": "1.0.0",
"description": "Boilerplate package.json for a typescript web app",
"main": "index.ts",
"repository": "[email protected]:Niceplace/ts-app-boilerplate.git",
"author": "Simon Beaulieu <[email protected]>",
"license": "MIT",
"dependencies": {
"ts-node": "^10.0.0",
"typescript": "^4.0.0"
},
"scripts": {
"reformat": "prettier --write './**/*.{ts,json,js}'",
"ts-check": "tsc -p . --noEmit",
"lint": "eslint . --ext .ts,.tsx",
"start": "ts-node app.ts"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn ts-check"
}
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"lint-staged": "^12.0.0",
"prettier": "^2.0.0"
}
}