-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
86 lines (86 loc) · 2.33 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "typescript-starter",
"version": "1.0.0",
"description": "Typescript starter kit ",
"main": "src/index.ts",
"scripts": {
"build": "tsc",
"start": "node -r dotenv/config dist/index.ts",
"start:dev": "node --inspect -r ts-node/register -r dotenv/config src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"eslint": "eslint src/**/*.ts",
"eslint:fix": "npm run eslint -- --fix",
"prettier": "prettier --check src/**/*.ts",
"prettier:fix": "npm run prettier -- --write",
"prepare": "npx simple-git-hooks"
},
"repository": {
"type": "git",
"url": "git+https://github.com/p0vidl0/typescript-starter.git"
},
"author": "Alex Kalashnikov",
"license": "MIT",
"bugs": {
"url": "https://github.com/p0vidl0/typescript-starter/issues"
},
"homepage": "https://github.com/p0vidl0/typescript-starter#readme",
"dependencies": {
"dotenv": "^16.3.1"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint": "^8.55.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-unused-imports": "^3.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
"simple-git-hooks": "^2.9.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsc-files": "^1.1.4",
"typescript": "^5.3.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"testTimeout": 30000,
"maxConcurrency": 1,
"maxWorkers": 1,
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{js,jsx,ts}",
"!**/node_modules/**",
"!**/vendor/**"
]
},
"lint-staged": {
"src/**/*.ts": [
"tsc-files --noEmit",
"npm run lint:fix"
]
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}