-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 2.31 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
{
"name": "@war3js/bootstrap",
"version": "0.0.1",
"description": "",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"bundle-polyfill": "esbuild ./src/polyfill.ts --bundle --outfile=build/esbuild/polyfill.js --format=esm --external:curl --external:unsafe --target=es2020 --alias:@war3js/unsafe=unsafe --alias:@war3js/curl=curl",
"bundle-bootstrap": "esbuild ./src/index.ts --bundle --outfile=build/esbuild/bootstrap.js --format=esm --external:curl --external:unsafe --target=es2020 --alias:@war3js/unsafe=unsafe --alias:@war3js/curl=curl",
"bundle": "npm run bundle-polyfill && npm run bundle-bootstrap",
"start": "ts-node-esm ./src/test.ts",
"lint": "eslint ./src/ --ext .ts --rulesdir ./eslint/rules/",
"typesgen": "tsc && dts-bundle-generator build/tsc/types/index.d.ts -o build/dts-bundle/out.d.ts --export-referenced-types=false --external-inlines=readable-stream --external-inlines=@war3js/events --external-inlines=@war3js/headers-polyfill --external-imports=@war3js/unsafe --inline-declare-global=true && ts-node-esm ./src/typesAppener.ts && node ./utils/tsconfigPrepare.js && tsc -p ./build/fullTypes/tsconfig.json && node ./utils/tsconfigRemove.js",
"docgen": "node ./utils/tsconfigPrepare.js && typedoc && node ./utils/tsconfigRemove.js",
"clean": "node ./utils/clean.js",
"build": "npm run bundle && npm run typesgen && npm run docgen"
},
"type": "module",
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.9.0",
"@types/readable-stream": "^4.0.10",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@war3js/curl": "^0.0.1",
"@war3js/events": "^4.0.1",
"@war3js/headers-polyfill": "^4.0.3",
"@war3js/text-decoding-types": "^0.0.9999",
"@war3js/unsafe": "file:../unsafe",
"dts-bundle-generator": "^8.1.1",
"esbuild": "^0.19.4",
"eslint": "^8.53.0",
"jass-to-ast": "^2.0.2",
"prettier": "3.0.3",
"readable-stream": "^4.5.1",
"text-decoding": "^1.0.0",
"ts-morph": "^20.0.0",
"ts-node": "^10.9.1",
"tsup": "^8.0.1",
"typed-emitter": "^2.1.0",
"typedoc": "^0.25.3",
"typescript": "^5.2.2"
}
}