/
package.json
76 lines (76 loc) 路 2.17 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
76
{
"name": "presetter",
"version": "4.4.1",
"engines": {
"node": ">=16.0.0"
},
"description": "Make project configurations clean with presets",
"keywords": [
"config",
"scaffold",
"package",
"project",
"template",
"toolkit",
"tools"
],
"homepage": "https://github.com/alvis/presetter#readme",
"bugs": {
"url": "https://github.com/alvis/presetter/issues"
},
"license": "MIT",
"author": "Alvis HT Tang <alvis@hilbert.space>",
"bin": {
"presetter": "./bin/cli.js",
"run": "./bin/run.js",
"run-s": "./bin/run-s.js",
"run-p": "./bin/run-p.js"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/alvis/presetter.git"
},
"scripts": {
"bootstrap": "tsx --eval \"require('./source/preset').bootstrapPreset()\" && npm run prepare",
"build": "npm run script -- build",
"clean": "npm run script -- clean",
"coverage": "npm run script -- coverage --",
"lint": "npm run script -- lint",
"prepare": "npm run script -- build",
"prepublishOnly": "npm run prepare && npm run script -- prepublishOnly",
"script": "tsx --eval \"process.argv = [...process.argv.slice(0, 2), 'run', ...process.argv.slice(2)]; require('./source/executable');\" -- run --template",
"stage": "npm run script -- stage --",
"test": "npm run script -- test --",
"watch": "npm run script -- watch --"
},
"devDependencies": {
"@types/js-yaml": "^4.0.0",
"@types/node": "*",
"@types/yargs": "^17.0.0",
"presetter-preset-strict": "workspace:*",
"type-fest": "^3.12.0"
},
"dependencies": {
"@npmcli/arborist": "^6.0.0",
"@npmcli/config": "^6.0.0",
"@npmcli/run-script": "^6.0.0",
"callsite-record": "^4.0.0",
"chalk": "^5.2.0",
"execa": "^7.1.0",
"js-yaml": "^4.1.0",
"listr2": "^6.6.0",
"mvdan-sh": "^0.10.0",
"pupa": "^3.1.0",
"presetter-types": "workspace:*",
"read-pkg": "^8.0.0",
"read-pkg-up": "^9.1.0",
"resolve-pkg": "^2.0.0",
"source-map-support": "^0.5.0",
"write-pkg": "^5.1.0",
"yargs": "^17.0.0",
"yargs-parser": "^21.0.0"
}
}