Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: creating initial tests setup #18

Merged
merged 11 commits into from
Sep 29, 2024
25 changes: 16 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,30 @@
"format": "prettier --log-level warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
"format:check": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
"test:unit": "node --import tsx --test ./test/unit/*.test.ts",
"test:unit:watch": "node --import tsx --test --watch ./test/unit/*.test.ts",
"test": "pnpm run test:unit && pnpm run lint && pnpm run format:check",
"lcov": "node --import tsx --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info ./test/unit/*.test.ts",
"generate-docs": "typedoc",
"dev": "DEBUG=cloudflare-queue-consumer tsx ./example/index.ts"
},
"devDependencies": {
"@types/node": "^20.11.25",
"eslint": "^8.57.0",
"eslint-config-iplayer": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.5",
"tsx": "^4.7.1",
"typedoc": "^0.25.12",
"typescript": "^5.4.2"
"@types/node": "20.11.25",
"@types/sinon": "17.0.3",
"chai": "5.1.0",
"chai-nock": "1.3.0",
"eslint": "8.57.0",
"eslint-config-iplayer": "9.2.0",
"eslint-config-prettier": "9.1.0",
"nock": "14.0.0-beta.5",
"p-event": "6.0.1",
"prettier": "3.2.5",
"sinon": "17.0.1",
"tsx": "4.7.1",
"typedoc": "0.25.12",
"typescript": "5.4.2"
},
"dependencies": {
"debug": "^4.3.4"
"debug": "4.3.4"
},
"eslintConfig": {
"extends": [
Expand Down
Loading
Loading