File tree 3 files changed +29
-11
lines changed
packages/generate-examples
3 files changed +29
-11
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"build" : " tsx src/lib/buildDictionary" ,
8
8
"test" : " jest" ,
9
- "test:watch" : " jest --watch"
9
+ "test:watch" : " jest --watch" ,
10
+ "compile:tsc" : " tsc --build" ,
11
+ "compile:esbuild" : " esbuild ./src/index.ts --sourcemap --format=esm --bundle --packages=external --outfile=./out/index.js" ,
12
+ "compile" : " pnpm compile:tsc && pnpm compile:esbuild" ,
13
+ "watch:tsc" : " pnpm compile:tsc --watch" ,
14
+ "watch:esbuild" : " pnpm compile:esbuild --watch" ,
15
+ "watch" : " pnpm run --filter @cursorless/generate-examples --parallel '/^watch:.*/'" ,
16
+ "clean" : " rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
10
17
},
11
18
"dependencies" : {
12
19
"fs-extra" : " 11.1.0" ,
13
20
"prettier" : " 2.8.4" ,
14
21
"shiki" : " 0.14.3" ,
15
22
"tsx" : " 3.12.7" ,
16
23
"yaml" : " 2.2.1"
24
+ },
25
+ "license" : " MIT" ,
26
+ "main" : " ./out/index.js" ,
27
+ "types" : " ./out/index.d.ts" ,
28
+ "exports" : {
29
+ "." : {
30
+ "cursorless:bundler" : " ./src/index.ts" ,
31
+ "default" : " ./out/index.js"
32
+ }
17
33
}
18
34
}
Original file line number Diff line number Diff line change 9
9
"noPropertyAccessFromIndexSignature" : true ,
10
10
"noImplicitReturns" : true ,
11
11
"noFallthroughCasesInSwitch" : true ,
12
- "esModuleInterop" : true
12
+ "esModuleInterop" : true ,
13
+ "rootDir" : " src" ,
14
+ "outDir" : " out"
13
15
},
14
16
"files" : [],
15
- "include" : [],
16
- "references" : [
17
- {
18
- "path" : " ./tsconfig.lib.json"
19
- },
20
- {
21
- "path" : " ./tsconfig.spec.json"
22
- }
23
- ]
17
+ "include" : [
18
+ " src/**/*.ts" ,
19
+ " src/**/*.json" ,
20
+ " ../../typings/**/*.d.ts"
21
+ ],
22
+ "references" : []
24
23
}
Original file line number Diff line number Diff line change 26
26
{
27
27
"path" : " ./packages/cursorless-vscode-e2e"
28
28
},
29
+ {
30
+ "path" : " ./packages/generate-examples"
31
+ },
29
32
{
30
33
"path" : " ./packages/meta-updater"
31
34
},
You can’t perform that action at this time.
0 commit comments