-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
43 lines (43 loc) · 1.15 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
{
"name": "typescript-setup",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "ts-node-dev --inspect --transpile-only --ignore-watch node_modules --respawn src/index.ts",
"start": "ts-node src/index.ts",
"lint": "pretty-quick --staged && lint-staged",
"test": "jest --passWithNoTests --silent --noStackTrace --runInBand",
"test:staged": "yarn test --findRelatedTests"
},
"devDependencies": {
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"git-commit-msg-linter": "^3.0.0",
"husky": "^8.0.3",
"jest": "^26.6.3",
"lint-staged": "^13.2.1",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"ts-jest": "^26.5.4",
"ts-node-dev": "^1.1.8",
"typescript": "^4.2.3"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"lint-staged": {
"*.ts": [
"eslint 'src/**' --fix",
"npm run test:staged",
"git add"
]
}
}