-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
124 lines (124 loc) · 3.93 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
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
114
115
116
117
118
119
120
121
122
123
124
{
"name": "sc4",
"version": "0.2.13",
"description": "A command line utility for automating SimCity 4 modding tasks & modifying savegames",
"main": "lib/core/index.js",
"type": "module",
"exports": {
".": "./lib/index.js",
"./core": "./lib/core/index.js",
"./utils": "./lib/utils/index.js",
"./utils/register": "./lib/utils/register-debug-utils.js",
"./plugins": "./lib/plugins/index.js",
"./threading": "./lib/threading/index.js",
"./cli": "./lib/cli/cli.js",
"./api": "./lib/api/api.js",
"./api/*": "./lib/api/*",
"./submenus": "./lib/submenus/index.js"
},
"imports": {
"#cli/*": "./lib/cli/*",
"#cli/prompts": "./lib/cli/prompts/index.js",
"#cli/commands": "./lib/cli/commands/index.js",
"#cli/flows": "./lib/cli/flows/index.js",
"#test/*": "./test/*"
},
"engines": {
"node": ">=22.3.0"
},
"scripts": {
"lint": "eslint src",
"test": "npm run typecheck && npm run test:mocha",
"test:mocha": "cross-env NODE_ENV=test mocha src/**/*-test.js src/**/*-test.ts --reporter progress",
"prebuild": "rimraf lib",
"typecheck": "tsc --noEmit",
"build": "tsc -p tsconfig.build.json && copyfiles -u 1 src/cli/assets/* lib",
"build:exe": "npm run build && build\\sea.bat",
"build:bundle": "npm run build:bundle:main && npm run build:thread",
"build:bundle:main": "esbuild lib/cli/cli.js --bundle --platform=node --target=node22 --outfile=dist/sc4.js --minify --format=cjs --metafile=dist/buildmanifest.json",
"build:thread": "esbuild lib/plugins/plugin-index-thread.js --bundle --platform=node --target=node22 --outfile=dist/plugin-index-thread.js --minify --format=cjs --metafile=dist/thread.buildmanifest.json",
"build:postject": "postject dist/sc4.exe NODE_SEA_BLOB dist/sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2",
"electron": "electron lib/gui/app.js",
"cli": "tsx src/cli/cli.js"
},
"bin": {
"sc4": "lib/cli/cli.js"
},
"keywords": [
"SimCity 4",
"modding"
],
"author": "Sebastiaan Marynissen",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sebamarynissen/sc4.git"
},
"files": [
"lib"
],
"mocha": {
"import": "tsx",
"extension": ".ts"
},
"devDependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.0",
"@types/chai": "^5.0.1",
"@types/debug": "^4.1.12",
"@types/knuth-shuffle-seeded": "^1.0.2",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.1",
"@types/semver": "^7.5.8",
"@whisthub/eslint-config": "^3.1.0",
"buffer": "^6.0.3",
"chai": "^5.1.2",
"chai-spies": "^1.0.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "^9.14.0",
"hilbert-curve": "^2.0.5",
"jsdom": "^25.0.1",
"memfs": "^4.14.0",
"mocha": "^10.8.2",
"postject": "^1.0.0-alpha.6",
"rimraf": "^6.0.1",
"string-argv": "^0.3.1",
"tsx": "^4.19.2",
"type-fest": "^4.30.0",
"typescript": "^5.7.2"
},
"dependencies": {
"@inquirer/checkbox": "^4.0.1",
"@inquirer/confirm": "^5.0.1",
"@inquirer/core": "^10.0.1",
"@inquirer/editor": "^4.1.0",
"@inquirer/figures": "^1.0.8",
"@inquirer/input": "^4.0.1",
"@inquirer/number": "^3.0.1",
"@inquirer/select": "^4.0.1",
"binary-search-bounds": "^2.0.5",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"conf": "^13.0.1",
"debug": "^4.4.0",
"glob": "^11.0.0",
"ini": "^1.3.5",
"is-unicode-supported": "^2.1.0",
"knuth-shuffle-seeded": "^1.0.6",
"lru-cache": "^11.0.2",
"minimatch": "^10.0.1",
"open": "github:sebamarynissen/open#feature/sea",
"ora": "^8.1.1",
"p-queue": "^8.0.1",
"package-up": "^5.0.0",
"qfs-compression": "^0.2.3",
"semver": "^7.3.5",
"smart-arraybuffer": "^1.0.0-alpha.2",
"supports-color": "^10.0.0",
"tar": "^6.1.8",
"uint8array-extras": "^1.4.0",
"yaml": "^2.6.0"
}
}