|
1 | 1 | {
|
2 | 2 | "name": "@octokit/webhooks",
|
3 | 3 | "version": "0.0.0-development",
|
| 4 | + "type": "module", |
4 | 5 | "description": "GitHub webhook events toolset for Node.js",
|
5 | 6 | "keywords": [],
|
6 | 7 | "repository": "github:octokit/webhooks.js",
|
|
9 | 10 | "scripts": {
|
10 | 11 | "build": "node scripts/build.mjs && tsc -p tsconfig.json",
|
11 | 12 | "coverage": "jest --coverage && open coverage/lcov-report/index.html",
|
12 |
| - "generate-types": "ts-node --transpile-only scripts/generate-types.ts", |
| 13 | + "generate-types": "node --loader=ts-node/esm scripts/generate-types.ts", |
13 | 14 | "lint": "prettier --check 'src/**/*.{ts,json}' 'scripts/**/*' 'test/**/*.ts' README.md package.json",
|
14 | 15 | "lint:fix": "prettier --write 'src/**/*.{ts,json}' 'scripts/**/*' 'test/**/*.ts' README.md package.json",
|
15 | 16 | "pretest": "npm run -s lint",
|
16 |
| - "test": "jest --coverage", |
| 17 | + "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --coverage", |
17 | 18 | "validate:ts": "tsc --noEmit --noImplicitAny --target es2020 --esModuleInterop --moduleResolution node16 --module node16 --allowImportingTsExtensions test/typescript-validate.ts"
|
18 | 19 | },
|
19 | 20 | "prettier": {},
|
|
43 | 44 | "@octokit/request-error": "^5.0.0",
|
44 | 45 | "@octokit/webhooks-methods": "^4.0.0",
|
45 | 46 | "@wolfy1339/openapi-webhooks-types": "5.1.3",
|
46 |
| - "aggregate-error": "^3.1.0" |
| 47 | + "aggregate-error": "^5.0.0" |
47 | 48 | },
|
48 | 49 | "devDependencies": {
|
49 | 50 | "@jest/types": "^29.0.0",
|
50 | 51 | "@octokit/tsconfig": "^2.0.0",
|
51 | 52 | "@types/jest": "^29.0.0",
|
52 | 53 | "@types/node": "^20.0.0",
|
53 |
| - "@types/prettier": "^2.0.0", |
54 | 54 | "@wolfy1339/openapi-webhooks": "5.1.3",
|
55 | 55 | "axios": "^1.0.0",
|
56 | 56 | "esbuild": "^0.20.0",
|
|
0 commit comments