-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.62 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "@chicory-lang/compiler",
"version": "0.0.12",
"description": "A compiler for the Chicory language.",
"scripts": {
"antlr": "antlr4ng -Dlanguage=TypeScript -o generated/ -visitor -Xexact-output-dir grammar/Chicory.g4",
"test": "bun test",
"generate:types": "bun x --package typescript --downlevelIteration --emitDeclarationOnly --declaration --skipLibCheck --outDir ./build compile.ts && cp ./env.d.ts ./build/env.d.ts",
"generate:esm": "bun build ./compile.ts --outdir=build",
"generate:cjs": "bun build ./compile.ts --format cjs --outfile=build/compile.cjs",
"generate:bundle": "bun run generate:esm && bun run generate:cjs",
"build": "bun run antlr && bun test && bun run generate:types && bun run generate:bundle",
"exec": "bun run execute"
},
"type": "module",
"module": "build/compile.js",
"types": "build/compile.d.ts",
"exports": {
".": {
"import": {
"types": "./build/compile.d.ts",
"default": "./build/compile.js"
},
"require": {
"types": "./build/compile.d.ts",
"default": "./build/compile.cjs"
}
}
},
"keywords": [
"compiler",
"language",
"chicory",
"parser",
"programming language"
],
"author": "James Cuénod",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chicory-lang/compiler"
},
"homepage": "https://chicory-lang.github.io/",
"bugs": {
"url": "https://github.com/chicory-lang/compiler/issues"
},
"files": [
"build"
],
"dependencies": {
"antlr4ng": "^3.0.14"
},
"devDependencies": {
"@types/bun": "^1.2.2"
}
}