File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
1
2
const { buildSync } = require ( 'esbuild' ) ;
2
3
3
4
const shared = {
Original file line number Diff line number Diff line change 17
17
"scripts" : {
18
18
"test" : " node -r ts-eager/register ./node_modules/.bin/jasmine" ,
19
19
"marktest" : " node -r ts-eager/register ${INSPECT:+--inspect-brk} spec/marktest/index.ts spec/marktest/tests.yaml" ,
20
- "build" : " npx patch-package && npm run build:common && npm run build:types" ,
20
+ "prebuild" : " npx patch-package" ,
21
+ "build" : " npm run build:common && npm run build:types" ,
21
22
"build:common" : " node build.js" ,
22
23
"build:types" : " tsc --emitDeclarationOnly --outDir dist" ,
23
24
"lint" : " eslint ." ,
24
- "grammar" : " pegjs -o src/grammar/tag.js src/grammar/tag.pegjs && prettier --write src/grammar/tag.js" ,
25
+ "grammar" : " pegjs -o src/grammar/tag.js src/grammar/tag.pegjs" ,
26
+ "postgrammar" : " prettier --write src/grammar/tag.js" ,
25
27
"prettier" : " prettier --write index.ts src spec" ,
26
28
"prettier:check" : " prettier --check index.ts src spec" ,
27
29
"type:check" : " tsc --noEmit" ,
You can’t perform that action at this time.
0 commit comments