-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.75 KB
/
package.json
File metadata and controls
31 lines (31 loc) · 1.75 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
{
"name": "@ado-aw/scripts",
"private": true,
"type": "module",
"version": "0.0.0",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"build": "npm run codegen && npm run clean && npm run build:gate && npm run build:import",
"clean": "node -e \"const fs=require('node:fs'); fs.rmSync('.ado-build',{recursive:true,force:true}); fs.rmSync('gate.js',{force:true}); fs.rmSync('import.js',{force:true});\"",
"build:gate": "ncc build src/gate/index.ts -o .ado-build/gate -m -t && node -e \"const fs=require('node:fs'); fs.copyFileSync('.ado-build/gate/index.js','gate.js'); fs.rmSync('.ado-build/gate',{recursive:true,force:true});\"",
"build:import": "ncc build src/import/index.ts -o .ado-build/import -m -t && node -e \"const fs=require('node:fs'); fs.copyFileSync('.ado-build/import/index.js','import.js'); fs.rmSync('.ado-build/import',{recursive:true,force:true});\"",
"build:check": "ls -lh gate.js && wc -c gate.js",
"codegen": "node -e \"require('node:fs').mkdirSync('schema', { recursive: true })\" && cargo run --quiet --manifest-path ../../Cargo.toml -- export-gate-schema --output schema/gate-spec.schema.json && npx json2ts schema/gate-spec.schema.json -o src/shared/types.gen.ts --bannerComment \"// AUTO-GENERATED from Rust IR via cargo run -- export-gate-schema. Do not edit; run npm run codegen.\"",
"test": "vitest run",
"test:smoke": "npm run build:gate && npm run build:import && vitest run -c vitest.config.smoke.ts",
"lint": "echo TODO",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"azure-devops-node-api": "^14.1.0"
},
"devDependencies": {
"@types/node": "^20.19.39",
"@vercel/ncc": "^0.38.4",
"json-schema-to-typescript": "^15.0.4",
"typescript": "^5.9.3",
"vitest": "^4.1.6"
}
}