"start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.mjs",
"rollup": "pnpm run build-requirements && rollup --config",
"build": "pnpm run rollup",
- "build:cf": "npx rimraf node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm run rollup",
+ "build:cf": "pnpm run clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm run rollup",
"build:dev": "pnpm run rollup -- --environment BUILD:development",
"build:dev:watch": "pnpm run rollup -- --environment BUILD:development --watch",
+ "clean:dist": "npx rimraf dist",
+ "clean:node_modules": "npx rimraf node_modules",
"lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src",
"lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src",
"format": "prettier --cache --write .",