-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 2.35 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "jaiph",
"version": "0.13.0",
"runtimeImageDigest": "",
"description": "jaiph compiler/transpiler",
"repository": {
"type": "git",
"url": "https://github.com/jaiphlang/jaiph.git"
},
"files": [
"dist/src/"
],
"type": "commonjs",
"bin": {
"jaiph": "dist/src/cli.js"
},
"scripts": {
"clean": "rm -rf dist",
"arch:check": "depcruise src --config .dependency-cruiser.cjs --ignore-known",
"lint": "eslint src --max-warnings 0",
"prepare": "node tools/embed-assets.js",
"embed-assets": "node tools/embed-assets.js",
"build": "npm run embed-assets && tsc -p tsconfig.json && node -e \"require('node:fs').cpSync('src/runtime','dist/src/runtime',{recursive:true})\"",
"build:standalone": "npm run build && node -e \"const fs=require('node:fs'); fs.cpSync('dist/src/runtime','dist/runtime',{recursive:true});\" && bun build --compile ./src/cli.ts --outfile ./dist/jaiph",
"registry:build": "npm run build && node scripts/build-registry.mjs",
"test:compiler": "npm run build && node --test dist/test-infra/compiler-test-runner.js",
"test:golden-ast": "npm run build && node --test dist/test-infra/golden-ast-runner.js",
"test": "npm run clean && npm run build && JAIPH_UNSAFE=true JAIPH_AUDIT_KEY_DIR=\"$(mktemp -d)\" NODE_OPTIONS='--max-old-space-size=32768 --enable-source-maps' node --test $(find dist/integration -name '*.test.js') $(find dist/src -name '*.test.js' -o -name '*.acceptance.test.js') scripts/build-registry.test.mjs dist/test-infra/compiler-test-runner.js dist/test-infra/golden-ast-runner.js",
"test:acceptance:compiler": "npm run build && node --test $(find dist/src -name '*.acceptance.test.js')",
"test:acceptance:runtime": "bash ./e2e/test_all.sh",
"test:acceptance": "npm run test:acceptance:compiler && npm run test:acceptance:runtime",
"test:ci": "npm test && npm run test:e2e",
"test:e2e": "npm run build && bash ./e2e/test_all.sh",
"test:samples": "npx playwright test"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@seriousme/openapi-schema-validator": "^2.4.1",
"@types/node": "^24.5.2",
"@typescript-eslint/parser": "^8.65.0",
"dependency-cruiser": "17.4.3",
"eslint": "^9.39.5",
"eslint-plugin-import": "^2.32.0",
"swagger-ui-dist": "5.17.14",
"typescript": "^5.9.2"
},
"dependencies": {
"jose": "5.10.0"
}
}