update repl tools and script, close #338 (#722)

This commit is contained in:
yz-yu
2021-10-07 14:14:58 +08:00
committed by GitHub
parent 18e4356be9
commit 6483a594ac
3 changed files with 17 additions and 18 deletions

View File

@@ -8,7 +8,7 @@
"test": "npm run bundle:browser && jest",
"test:headless": "npm run bundle:browser && PUPPETEER_HEADLESS=true jest",
"test:watch": "PUPPETEER_HEADLESS=true npm run test -- --watch",
"repl": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true ts-node scripts/repl.ts",
"repl": "npm run bundle:browser && node scripts/repl.js",
"bundle:browser": "cross-env BROWSER_ONLY=true rollup --config",
"bundle": "rollup --config",
"typings": "tsc -d --declarationDir typings",