-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.73 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
{
"name": "@tom-konda/sc2ktojson",
"author": "Tom Konda",
"version": "0.0.5",
"description": "This JavaScript library converts from .sc2 (SC2K city file) or .scn (SC2K scenario file) file to JSON",
"license": "MIT",
"keywords": [
"sc2",
"scn",
"SC2K",
"json",
"convert"
],
"repository": {
"type": "git",
"url": "https://github.com/tom-konda/sc2ktojson.git"
},
"type": "module",
"exports": {
"import": "./lib/sc2ktojson.js",
"require": "./lib/sc2ktojson.cjs.js"
},
"bin": {
"sc2ktojson": "./bin/cli.js"
},
"types": "./declaration/sc2ktojson/index.d.ts",
"scripts": {
"prebuild": "npm run clean",
"build": "npm-run-all lint test --parallel ts:build-* test:*",
"postbuild": "npm run doc-gen",
"ts:build-bin": "node ./vite-configs/vite.cli-config.js",
"ts:build-lib": "vite build -c ./vite-configs/vite.config.js ./src/ts/lib",
"clean": "node -e \"require('shelljs').rm('-R', ['./bin','./lib', './doc']);\"",
"doc-gen": "typedoc --excludeExternals",
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "eslint src/**/*.ts",
"lint:tsc-lib": "tsc --noEmit -p ./src/ts/lib",
"lint:tsc-bin": "tsc --noEmit -p ./src/ts/bin",
"test": "vitest run --dir ./tests/unit",
"test:cli": "vitest run --dir ./tests/e2e"
},
"engines": {
"node": ">=20.9.0"
},
"devDependencies": {
"@types/node": "^22",
"@types/tmp": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^8",
"@typescript-eslint/parser": "^8",
"eslint": "^9",
"npm-run-all2": "^7",
"shelljs": "^0.8.5",
"tmp": "^0.2.3",
"typedoc": "^0.27",
"typescript": "~5.7",
"vite": "^6",
"vitest": "^2"
},
"dependencies": {
"commander": "^13"
}
}