- "scripts": { "start": "wrangler dev", "build": "wrangler deploy --dry-run --outdir dist", "test": "yarn build && node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js", "lint": "eslint . --ext .js", "deploy": "yarn lint && yarn test && wrangler deploy" },
复制代码 |