-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
41 lines (41 loc) · 1.36 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
{
"name": "@cicada-lang/inet-js",
"version": "0.4.0",
"repository": "github:cicada-lang/inet-js",
"license": "GPL-3.0-or-later",
"type": "module",
"main": "./lib/index.js",
"files": [
"src",
"lib"
],
"bin": {
"inet-js": "bin/inet-js"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"test:ts": "vitest --dir src --run",
"test:inet-parse": "test-runner test 'node ./bin/inet-js parse --no-color' 'examples/**/*.i'",
"test:inet-format": "test-runner test 'node ./bin/inet-js format --no-color' 'examples/**/*.i'",
"test:inet-run": "test-runner snapshot 'node ./bin/inet-js run --no-color' 'examples/**/*.i' --exclude 'examples/**/*.error.i'",
"test:inet-run-error": "test-runner snapshot-error 'node ./bin/inet-js run --no-color' 'examples/**/*.error.i'",
"test": "npm run test:ts && npm run test:inet-run && npm run test:inet-run-error",
"format": "prettier src docs --write"
},
"dependencies": {
"@cicada-lang/framework": "^0.2.0",
"@cicada-lang/partech": "^0.2.5",
"@xieyuheng/command-line": "^0.1.2",
"@xieyuheng/ty": "^0.3.1",
"picocolors": "^1.1.1"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@xieyuheng/test-runner": "^0.2.10",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
}
}