-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
57 lines (57 loc) · 1.62 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
{
"name": "rule-cli",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"cli": "node cli/cli.js",
"test": "echo \"Error: no test specified\" && exit 1",
"copy-templates": "robocopy src/init/templates cli/init/templates /S",
"copy-env": "copyfiles -f src/common/.env cli/common",
"build": "tsc && npm run copy-env && npm run copy-templates",
"fix": "npm run fix:prettier && npm run fix:eslint",
"fix:eslint": "eslint --fix \"**/*.ts\"",
"fix:prettier": "prettier --write \"**/*.ts\"",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint \"**/*.ts\"",
"lint:prettier": "prettier --check \"**/*.ts\"",
"prepare": "husky install"
},
"bin": {
"rule-cli": "./cli/cli.js"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"dependencies": {
"commander": "^12.1.0",
"fs-extra": "^11.2.0",
"path": "^0.12.7",
"prompts": "^2.4.2",
"shelljs": "^0.8.5"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^2.1.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.14.6",
"@types/prompts": "^2.4.9",
"@types/shelljs": "^0.8.15",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"copyfiles": "^2.4.1",
"eslint": "^8.57.0",
"eslint-config-love": "^52.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.5",
"prettier": "^3.3.1",
"robocopy": "^0.1.16",
"typescript": "^5.6.2"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
]
}
}