-
-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.05 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
51
52
53
54
55
56
57
{
"name": "@cursorless/cursorless-engine",
"version": "0.1.0",
"description": "The core Cursorless engine, which is responsible for parsing and executing commands, allocating hats, etc",
"main": "./out/index.js",
"scripts": {
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build",
"compile:tsc": "tsc --build",
"compile:esbuild": "esbuild ./src/index.ts --sourcemap --format=esm --bundle --packages=external --outfile=./out/index.js",
"compile": "pnpm compile:tsc && pnpm compile:esbuild",
"generate-grammar:base": "nearleyc src/customCommandGrammar/grammar.ne",
"ensure-grammar-up-to-date": "pnpm -s generate-grammar:base | diff -u src/customCommandGrammar/generated/grammar.ts -",
"generate-grammar": "pnpm generate-grammar:base -o src/customCommandGrammar/generated/grammar.ts",
"generate-railroad": "nearley-railroad src/customCommandGrammar/grammar.ne -o out/railroad.html",
"test": "pnpm ensure-grammar-up-to-date",
"watch:tsc": "pnpm compile:tsc --watch",
"watch:esbuild": "pnpm compile:esbuild --watch",
"watch": "pnpm run --filter @cursorless/cursorless-engine --parallel '/^watch:.*/'"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@cursorless/common": "workspace:*",
"@cursorless/node-common": "workspace:*",
"@cursorless/sentence-parser": "workspace:*",
"immer": "10.1.1",
"immutability-helper": "3.1.1",
"itertools": "2.4.1",
"lodash-es": "4.17.21",
"moo": "0.5.2",
"nearley": "2.20.1",
"talon-snippets": "1.3.0",
"uuid": "11.1.0",
"zod": "3.25.28"
},
"devDependencies": {
"@types/js-yaml": "4.0.9",
"@types/lodash-es": "4.17.12",
"@types/mocha": "10.0.10",
"@types/moo": "0.5.10",
"@types/nearley": "2.11.5",
"@types/sinon": "17.0.4",
"@types/uuid": "10.0.0",
"js-yaml": "4.1.0",
"mocha": "11.5.0",
"sinon": "20.0.0"
},
"types": "./out/index.d.ts",
"exports": {
".": {
"cursorless:bundler": "./src/index.ts",
"default": "./out/index.js"
}
},
"type": "module"
}