-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
44 lines (44 loc) · 1.23 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": "node-ts-starter",
"version": "4.0.0",
"main": "index.js",
"author": "Horus Lugo",
"license": "MIT",
"scripts": {
"dev": "tsnd --respawn --files -r @babel/register --inspect -- src/index.ts",
"build": "babel ./src -d ./dist --extensions .ts --copy-files",
"typecheck": "tsc",
"start": "node dist/index.js",
"lint:base": "eslint --ext .js,.json,.ts",
"lint": "yarn lint:base src",
"prepare": "simple-pre-commit"
},
"simple-pre-commit": "yarn typecheck && yarn lint-staged",
"lint-staged": {
"src/**/*.{ts,js,json}": [
"yarn lint:base --fix"
]
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/node": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@babel/register": "^7.16.5",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.5.1",
"simple-pre-commit": "^1.2.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.5.4"
},
"engines": {
"node": ">=16"
}
}