forked from p0vidl0/typescript-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.21 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.21 KB
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
{
"name": "typescript-starter",
"version": "0.1.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"
},
"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",
"devDependencies": {
"@types/node": "^14.14.22",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.18.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unused-imports": "^1.0.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.1",
"typescript": "^4.1.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/**"
]
},
"dependencies": {
"dotenv": "^8.2.0"
},
"lint-staged": {
"src/**/*.ts": ["tsc --noEmit", "npm run lint:fix"]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}