-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.03 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
{
"name": "ts",
"version": "1.0.0",
"description": "My project template for TypeScript.",
"author": "ci7lus <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": ""
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"package.json",
"dist/**/*"
],
"scripts": {
"dev": "nodemon",
"build": "tsc",
"lint:prettier": "prettier --check './src/**/*.{js,ts,tsx}'",
"format:prettier": "prettier --write './src/**/*.{js,ts,tsx}'",
"lint:eslint": "eslint --max-warnings 0 --cache './src/**/*.{js,ts,tsx}'",
"format:eslint": "eslint './src/**/*.{js,ts,tsx}' --cache --fix"
},
"devDependencies": {
"@ci7lus/eslint-config": "^1.2.1",
"eslint": "^8.56.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.1",
"nodemon": "^3.0.3",
"prettier": "^3.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --max-warnings 0 --cache",
"*.{js,ts,tsx,md}": "prettier"
}
}