-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.19 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
{
"name": "cli-boilerplate",
"version": "0.1.0",
"description": "A CLI Boilerplate for quickly scaffolding CLI tools",
"keywords": [],
"author": "Cameron Olivier <[email protected]> (https://olvr.cc)",
"bugs": {
"url": "https://github.com/cameronolivier/cli-boilerplate/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cameronolivier/cli-boilerplate.git"
},
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"bin": {
"my-cli": "dist/index.js"
},
"scripts": {
"git:pre-commit": "lint-staged",
"git:pre-push": "npm run code:check",
"prettier:check": "prettier --check .",
"prettier:format": "prettier --write .",
"lint:check": "eslint .",
"code:check": "npm run prettier:check && npm run lint:check",
"code:format": "npm run prettier:format",
"check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm",
"test": "vitest run",
"test:watch": "vitest",
"build": "tsup",
"dev": "tsup --watch",
"start": "node dist/index.js",
"init": "npm run build && npm link",
"install-global": "npm run build && npm i -g",
"ci": "npm run build && npm run code:check && npm run check-exports && npm run test",
"local-release": "changeset version && changeset publish",
"prepublishOnly": "npm run ci",
"prepare": "husky"
},
"dependencies": {
"chalk": "^5.0.0",
"commander": "^12.1.0",
"fuzzy": "^0.1.3",
"inquirer": "^12.1.0",
"ts-node": "^10.9.2"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@changesets/cli": "^2.27.9",
"@eslint/js": "^9.14.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@types/node": "^22.9.0",
"eslint": "^9.14.0",
"globals": "^15.12.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "3.3.3",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"typescript-eslint": "^8.14.0",
"vitest": "^2.1.4"
},
"lint-staged": {
"*.{js, ts, jsx, tsx}": [
"eslint --cache --fix",
"prettier --write --ignore-unknown"
],
"!(*.{js, ts, jsx, tsx})": "prettier --write --ignore-unknown"
}
}