-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
100 lines (100 loc) · 8.21 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "datalog-ts",
"version": "0.6.6",
"license": "MIT",
"scripts": {
"test": "ts-node allTests.ts",
"test-stay-alive": "ts-node allTests.ts --stay-alive",
"test-write-results": "ts-node allTests.ts --write-results",
"test-build-archive": "ts-node util/ddTest/buildArchive.ts",
"test-write-and-archive": "yarn test-write-results; yarn test-build-archive",
"cloc": "cloc --vcs=git --exclude-dir=dist",
"benchmark": "ts-node allBenchmarks.ts",
"repl": "ts-node apps/cmd/repl/main.ts",
"build-dist": "tsc --jsx react --outDir dist --declaration --esModuleInterop apps/fiddle/main.tsx && tsc --outDir dist apps/cmd/repl/main.ts",
"build-interp-bundle": "esbuild --bundle --outfile=dist/index.mjs --format=esm --target=es6 core/simple/interpreter.ts",
"build-fp-ui": "esbuild apps/fp/main.tsx --bundle --outfile=apps/fp/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --loader:.grammar=text --loader:.dl=text --loader:.dl2=text --loader:.css=text --sourcemap --external:path --external:fs --external:crypto",
"serve-fp-ui": "cd apps/fp/public && http-server -c-1",
"build-fiddle": "esbuild apps/fiddle/main.tsx --bundle --outfile=apps/fiddle/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --loader:.dl=text --loader:.dl2=text --sourcemap --external:path --external:fs --external:crypto --loader:.dl=text --loader:.dl2=text --loader:.css=text --loader:.grammar=text",
"serve-fiddle": "cd apps/fiddle/public && http-server -c-1",
"build-notebook-ui": "esbuild apps/notebook/main.tsx --bundle --outfile=apps/notebook/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --sourcemap --external:path --external:fs --external:crypto",
"serve-notebook-ui": "cd apps/notebook/public && http-server -c-1",
"build-actors-ui": "esbuild apps/actors/main.tsx --bundle --outfile=apps/actors/public/bundle.js --sourcemap '--define:process.env.NODE_ENV=\"development\"' --loader:.dl=text --loader:.dl2=text --external:path --external:fs --external:crypto",
"serve-actors-ui": "cd apps/actors/public && http-server -c-1",
"build-language-workbench": "esbuild apps/languageWorkbench/main.tsx --bundle --outfile=apps/languageWorkbench/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --sourcemap --external:path --external:fs --external:crypto --loader:.dl=text --loader:.dl2=text --loader:.css=text --loader:.grammar=text",
"serve-language-workbench": "cd apps/languageWorkbench/public && http-server -c-1",
"build-dl-parser-playground": "esbuild apps/dlParser/main.tsx --bundle --outfile=apps/dlParser/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --loader:.dl=text --loader:.dl2=text --sourcemap --external:path --external:fs --external:crypto --loader:.dl=text --loader:.dl2=text --loader:.css=text --loader:.grammar=text",
"serve-dl-parser-playground": "cd apps/dlParser/public && http-server -c-1",
"build-ddtest-viewer": "esbuild apps/ddTestViewer/main.tsx --bundle --outfile=apps/ddTestViewer/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --sourcemap --external:path --external:fs --external:crypto",
"serve-ddtest-viewer": "cd apps/ddTestViewer/public && http-server -c-1",
"build-sim": "esbuild apps/sim/main.tsx --bundle --outfile=apps/sim/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --sourcemap --external:path --external:fs --external:crypto --loader:.dl=text --loader:.dl2=text",
"serve-sim": "cd apps/sim/public && http-server -c-1",
"build-execution-visualizer": "esbuild apps/executionVisualizer/main.tsx --bundle --outfile=apps/executionVisualizer/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --sourcemap --external:path --external:fs --external:crypto --loader:.dl=text --loader:.dl2=text --loader:.grammar=text --loader:.ttf=text",
"serve-execution-visualizer": "cd apps/executionVisualizer/public && http-server -c-1",
"build-opt-playground": "esbuild apps/optPlayground/main.tsx --bundle --outfile=apps/optPlayground/public/bundle.js '--define:process.env.NODE_ENV=\"development\"' --sourcemap --external:path --external:fs --external:crypto --loader:.dl=text --loader:.dl2=text --loader:.grammar=text --loader:.ttf=text",
"serve-opt-playground": "cd apps/optPlayground/public && http-server -c-1",
"build-vscode-extension": "esbuild apps/vscodeExtension/extension.ts --bundle --sourcemap --platform=node --outfile=apps/vscodeExtension/out/extension.js --external:vscode --loader:.dl=text --loader:.dl2=text --loader:.grammar=text --loader:.html=text && esbuild apps/vscodeExtension/webView.tsx --bundle --sourcemap '--define:process.env.NODE_ENV=\"development\"' --outfile=apps/vscodeExtension/out/webView.js --external:path --external:fs --external:crypto --loader:.dl=text --loader:.dl2=text --loader:.grammar=text --loader:.html=text",
"package-vscode-extension": "cd apps/vscodeExtension && vsce package",
"generate-datalog-parser": "ts-node languageWorkbench/parserlib/genTS/cli.ts languageWorkbench/languages/dl/dl.grammar languageWorkbench/languages/dl/parser.ts ../../parserlib DL ws && prettier --write languageWorkbench/languages/dl/parser.ts",
"generate-datalog2-parser": "ts-node languageWorkbench/parserlib/genTS/cli.ts languageWorkbench/languages/dl2/dl2.grammar languageWorkbench/languages/dl2/parser.ts ../../parserlib DL2 ws && prettier --write languageWorkbench/languages/dl2/parser.ts",
"generate-datalog2-typings": "ts-node languageWorkbench/parserlib/genDL2/cli.ts languageWorkbench/languages/dl2/dl2.grammar languageWorkbench/languages/dl2/tables.dl2",
"generate-sql-parser": "ts-node languageWorkbench/parserlib/genTS/cli.ts languageWorkbench/languages/sql/sql.grammar languageWorkbench/languages/sql/parser.ts ../../parserlib SQL ws && prettier --write languageWorkbench/languages/sql/parser.ts",
"generate-grammar-parser": "ts-node languageWorkbench/parserlib/genTS/cli.ts languageWorkbench/languages/grammar/grammar.grammar languageWorkbench/languages/grammar/parser.ts ../../parserlib Grammar ws && prettier --write languageWorkbench/languages/grammar/parser.ts",
"generate-basic-blocks-parser": "ts-node languageWorkbench/parserlib/genTS/cli.ts languageWorkbench/languages/basicBlocks/basicBlocks.grammar languageWorkbench/languages/basicBlocks/parser.ts ../../parserlib BB ws && prettier --write languageWorkbench/languages/basicBlocks/parser.ts",
"generate-opt-parser": "ts-node languageWorkbench/parserlib/genTS/cli.ts languageWorkbench/languages/opt/opt.grammar languageWorkbench/languages/opt/parser.ts ../../parserlib Opt ws && prettier --write languageWorkbench/languages/opt/parser.ts",
"generate-opt-typings": "ts-node languageWorkbench/parserlib/genDL2/cli.ts languageWorkbench/languages/opt/opt.grammar languageWorkbench/languages/opt/tables.dl2"
},
"devDependencies": {
"@types/astring": "^1.7.0",
"@types/diff": "^4.0.2",
"@types/estree": "^0.0.51",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-vega": "^7.0.0",
"@types/tmp": "^0.2.3",
"@types/vscode": "^1.66.0",
"airtable": "^0.11.0",
"astring": "^1.8.3",
"aws-sdk": "^2.906.0",
"diff": "^4.0.2",
"esbuild": "^0.19",
"http-server": "^0.12.3",
"prettier": "^2.8.8",
"tmp": "^0.2.1",
"ts-node": "^8.10.1",
"typescript": "^3.9.2",
"vsce": "^2.7.0"
},
"dependencies": {
"@hookeasy/use-title": "^1.0.2",
"@monaco-editor/react": "^4.4.4",
"@react-hook/window-size": "^3.0.7",
"classnames": "^2.3.1",
"denque": "^2.0.1",
"graphviz-react": "^1.2.5",
"immutable": "^4.0.0-rc.12",
"js-graph-algorithms": "^1.0.18",
"monaco-editor": "^0.33.0",
"path-browserify": "^1.0.1",
"prettier-printer": "^1.1.4",
"react": "18",
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "18",
"react-json-view": "^1.21.3",
"react-router-dom": "^5.2.0",
"react-textarea-autosize": "^8.3.2",
"react-use-localstorage": "^3.4.1",
"react-vega": "^7.5.1",
"reactflow": "^11.9.4",
"simple-markdown": "^0.7.3",
"use-hash-param": "^0.2.3",
"use-http": "^1.0.20",
"use-resize-observer": "^9.1.0",
"vega": "^5.22.1",
"vega-lite": "^5.2.0",
"w3c-hr-time": "^1.0.2"
},
"bin": {
"datalog-ts": "dist/cmd/repl.js"
}
}