Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
34 lines (34 loc) · 1.79 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
{
"name": "scmjs-plugin-trigscript",
"version": "3.12.0",
"private": true,
"description": "TrigScript — TypeScript that builds into triggers; a plugin for the scmJS StarCraft map editor.",
"author": "Jeany",
"license": "MIT",
"type": "module",
"exports": {
"./testing": {
"types": "./dist/testing.d.ts",
"default": "./dist/testing.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "esbuild plugin.ts --bundle --format=esm --target=es2022 --platform=browser --outfile=dist/plugin.js --banner:js=\"// Generated by npm run build - do not edit; the source is plugin.ts.\" && esbuild compiler/entry.ts --bundle --format=esm --target=es2022 --platform=browser --outfile=dist/compiler.js --banner:js=\"// Generated by npm run build - do not edit; the source is compiler/entry.ts. The compile worker imports this when the plugin is compiled into the editor.\" && esbuild compiler/testingEntry.ts --bundle --format=esm --target=es2022 --platform=neutral --external:node:* --outfile=dist/testing.js --banner:js=\"// Generated by npm run build - do not edit; the source is compiler/testingEntry.ts. The plugin never loads this: it is what another repository's tests import to run triggers.\" && dts-bundle-generator --silent --no-banner --project tsconfig.json -o dist/testing.d.ts compiler/testingEntry.ts",
"dev": "npm run build -- --watch",
"typecheck": "tsc -p tsconfig.json",
"test": "vitest run",
"bundle": "node bundle/build.mjs",
"embed": "node scripts/embed-python.mts"
},
"devDependencies": {
"@scm-js/plugin-api": "^1.28.0",
"@types/node": "^24.13.3",
"dts-bundle-generator": "^9.5.1",
"esbuild": "^0.28.2",
"monaco-editor": "^0.56.0",
"mopaq": "^1.3.0",
"typescript": "~6.0.3",
"vitest": "^4.1.11"
}
}