Skip to content

Commit

Permalink
divide npm build into parts
Browse files Browse the repository at this point in the history
  • Loading branch information
FineArchs committed Sep 5, 2023
1 parent 63eb8fd commit 75e117a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
"peg": "peggy --format es --cache -o src/parser/parser.js --allowed-start-rules Preprocess,Main src/parser/parser.peggy && npm run peg-copy",
"peg-debug": "peggy --trace --format es --cache -o src/parser/parser.js --allowed-start-rules Preprocess,Main src/parser/parser.peggy && npm run peg-copy",
"peg-copy": "copyfiles -f src/parser/parser.js built/parser/",
"build": "npm run peg && tsc --outDir built/esm && tsc --module commonjs --outDir built/cjs && tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true",
"ts": "npm run ts-esm && npm run ts-cjs && npm run dts",
"ts-esm": "tsc --outDir built/esm",
"ts-cjs": "tsc --module commonjs --outDir built/cjs",
"ts-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true",
"build": "npm run peg && npm run ts",
"build-debug": "npm run peg-debug && tsc",
"api": "npx api-extractor run --local --verbose",
"api-prod": "npx api-extractor run --verbose",
Expand Down

0 comments on commit 75e117a

Please sign in to comment.