-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.61 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.61 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
{
"name": "jaiph",
"version": "0.9.2",
"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",
"build": "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",
"test:compiler": "npm run build && node --test dist/src/compiler-test-runner.js",
"test:golden-ast": "npm run build && node --test dist/src/golden-ast-runner.js",
"test": "npm run clean && npm run build && NODE_OPTIONS='--max-old-space-size=32768 --enable-source-maps' node --test dist/test/*.test.js $(find dist/src -name '*.test.js' -o -name '*.acceptance.test.js') dist/src/compiler-test-runner.js dist/src/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",
"@types/node": "^24.5.2",
"typescript": "^5.9.2"
}
}