add/fix watch scripts

This commit is contained in:
MapleLeaf
2021-12-21 10:11:52 -06:00
parent f0a2e56b26
commit 103c8d6d1b

View File

@@ -13,11 +13,12 @@
}, },
"scripts": { "scripts": {
"build": "tsup-node src/main.ts --target node16 --format cjs,esm --dts --sourcemap", "build": "tsup-node src/main.ts --target node16 --format cjs,esm --dts --sourcemap",
"build-watch": "pnpm -C packages/reacord build -- --watch", "build-watch": "pnpm build -- --watch",
"lint": "eslint --ext js,ts,tsx .", "lint": "eslint --ext js,ts,tsx .",
"lint-fix": "pnpm lint -- --fix", "lint-fix": "pnpm lint -- --fix",
"format": "prettier --write .", "format": "prettier --write .",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test-watch": "pnpm test -- --watch",
"coverage": "pnpm test -- --coverage", "coverage": "pnpm test -- --coverage",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },