-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.92 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.92 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
{
"name": "forge-tree",
"version": "1.6.0",
"description": "A powerful tool to scaffold project structures from ASCII tree diagrams. Supports smart detection of project types, custom templates, and extensive configuration options.",
"keywords": [
"scaffold",
"cli",
"generator",
"ascii",
"tree",
"directory",
"nextjs",
"firebase",
"monorepo",
"turbo"
],
"license": "MIT",
"author": "Clement Abel",
"homepage": "https://github.com/Cleman25/forge-tree#readme",
"bugs": {
"url": "https://github.com/Cleman25/forge-tree/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Cleman25/forge-tree.git"
},
"type": "module",
"bin": {
"forge-tree": "dist/index.js"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js"
},
"files": [
"dist"
],
"sideEffects": false,
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc -p tsconfig.json && node -e \"require('fs').chmodSync('dist/index.js',0o755)\" && node -e \"const fs=require('fs');const path=require('path');const templatesDir=path.join('src','templates');const distTemplatesDir=path.join('dist','templates');fs.mkdirSync(distTemplatesDir,{recursive:true});fs.readdirSync(templatesDir).forEach(f=>fs.copyFileSync(path.join(templatesDir,f),path.join(distTemplatesDir,f)));\"",
"dev": "tsc -w -p tsconfig.json",
"prepublishOnly": "npm run build && npm test",
"release:tag": "node -e \"const v=require('./package.json').version;console.log('v'+v)\"",
"release:patch": "npm version patch && git push && git push --tags",
"release:minor": "npm version minor && git push && git push --tags",
"release:major": "npm version major && git push && git push --tags",
"release:local": "npx release-please release-pr --release-type node --repo-url $npm_config_repo || true",
"start": "node dist/index.js",
"lint": "node -e \"process.exit(0)\"",
"test": "npm run build && vitest run",
"test:watch": "npm run build && vitest",
"ci": "npm ci && npm run ci:verify",
"ci:verify": "npm run ci:lint && npm run ci:test && npm run ci:build",
"ci:lint": "npm run lint",
"ci:test": "npm run test -- --coverage --reporter=default",
"ci:build": "npm run build",
"ci:clean": "rm -rf node_modules dist coverage .nyc_output",
"ci:audit": "npm audit --production",
"local": "npm ci && npm run build && npm link && forge-tree --help"
},
"dependencies": {
"chalk": "^5.3.0",
"execa": "^9.4.0",
"open": "^10.2.0",
"prompts": "^2.4.2",
"serve-handler": "^6.1.6",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/node": "^20.19.10",
"@types/prompts": "^2.4.9",
"@types/serve-handler": "^6.1.4",
"@types/yargs": "^17.0.33",
"@vitest/coverage-v8": "^3.2.4",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"publishConfig": {
"access": "public"
}
}