-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.93 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 2.93 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@sajaddp/typescript-template",
"version": "2.1.1",
"description": "A polished TypeScript CLI starter for Node.js 24+, pnpm 11+, Commander.js, typed env validation, and Vitest.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"ts-template": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
".env.example",
"CHANGELOG.md",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "node scripts/clean.mjs",
"dev": "tsx src/cli.ts",
"dev:doctor": "pnpm dev -- doctor",
"dev:env": "pnpm dev -- env",
"dev:hello": "pnpm dev -- hello Sajad",
"dev:help": "pnpm dev -- --help",
"build": "tsc",
"prebuild": "pnpm clean",
"postbuild": "node scripts/mark-bin-executable.mjs",
"start": "node dist/cli.js",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch",
"test": "vitest run",
"test:watch": "vitest",
"format": "biome format --write .",
"format:check": "biome format .",
"fix": "biome check --write .",
"lint": "biome check .",
"check": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm test",
"smoke:dist": "node dist/cli.js --help && node dist/cli.js hello Sajad && node dist/cli.js env --json && node dist/cli.js doctor --json",
"pack:check": "node scripts/check-package.mjs",
"pack:dry": "pnpm build && npm pack --dry-run",
"verify": "pnpm check && pnpm build && pnpm smoke:dist && pnpm pack:check",
"prepack": "pnpm build",
"prepublishOnly": "pnpm verify"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sajaddp/typescript-template.git"
},
"keywords": [
"boilerplate",
"cli",
"commander",
"commander-js",
"dotenv",
"node",
"node-24",
"node-cli",
"node-cli-template",
"node-typescript-starter",
"nodejs",
"pnpm",
"pnpm-11",
"pnpm-typescript-boilerplate",
"project",
"starter",
"template",
"tsx",
"typescript",
"typescript-cli-starter",
"typescript-cli-template",
"typescript-starter",
"typescript-template",
"vitest",
"zod"
],
"author": {
"name": "Sajad Dehshiri",
"url": "https://sajaddehshiri.ir/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/sajaddp/typescript-template/issues"
},
"homepage": "https://github.com/sajaddp/typescript-template#readme",
"dependencies": {
"@clack/prompts": "^0.11.0",
"commander": "^14.0.3",
"dotenv": "^17.4.2",
"picocolors": "^1.1.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@biomejs/biome": "^2.4.15",
"@types/node": "^24.12.4",
"tsx": "^4.22.0",
"typescript": "^6.0.3",
"vitest": "^4.1.6"
},
"engines": {
"node": ">=24.0.0",
"pnpm": ">=11.0.0"
},
"packageManager": "pnpm@11.1.2"
}