|
32 | 32 | ".": "./dist/index.js",
|
33 | 33 | "./package.json": "./package.json"
|
34 | 34 | },
|
| 35 | + "engines": { |
| 36 | + "node": ">=18" |
| 37 | + }, |
35 | 38 | "jest": {
|
36 | 39 | "moduleFileExtensions": [
|
37 | 40 | "js",
|
|
45 | 48 | "testEnvironment": "node"
|
46 | 49 | },
|
47 | 50 | "scripts": {
|
48 |
| - "build": "tsc -p tsconfig.json && esbuild src/index.ts --bundle --sourcemap --platform=node --target=node12 --format=cjs --outfile=dist/index.bundle.js", |
49 |
| - "watch": "tsc -p ../core/tsconfig.json -w --preserveWatchOutput & tsc -p tsconfig.json -w --preserveWatchOutput & esbuild src/index.ts --bundle --platform=node --sourcemap --target=node12 --format=cjs --watch --outfile=dist/index.bundle.js", |
| 51 | + "build": "tsc -p tsconfig.json && esbuild src/index.ts --bundle --sourcemap --platform=node --format=esm --outfile=dist/index.bundle.js", |
| 52 | + "watch": "tsc -p ../core/tsconfig.json -w --preserveWatchOutput & tsc -p tsconfig.json -w --preserveWatchOutput & esbuild src/index.ts --bundle --platform=node --sourcemap --format=esm --watch --outfile=dist/index.bundle.js", |
50 | 53 | "test": "jest"
|
51 | 54 | },
|
52 | 55 | "sideEffects": false,
|
53 | 56 | "publishConfig": {
|
54 | 57 | "access": "public"
|
55 | 58 | },
|
56 | 59 | "devDependencies": {
|
57 |
| - "@types/node": "^18.13.0", |
| 60 | + "@jest/globals": "^29.4.3", |
| 61 | + "@types/node": "^18.14.2", |
58 | 62 | "@types/node-localstorage": "^1.3.0",
|
59 | 63 | "@types/stack-trace": "^0.0.30",
|
60 |
| - "@jest/globals": "^29.4.3", |
61 |
| - "esbuild": "^0.17.8", |
| 64 | + "esbuild": "^0.17.10", |
62 | 65 | "jest": "^29.4.3",
|
63 | 66 | "jest-ts-webcompat-resolver": "^1.0.0",
|
64 | 67 | "ts-jest": "^29.0.5"
|
65 | 68 | },
|
66 | 69 | "dependencies": {
|
67 | 70 | "@exceptionless/core": "2.0.0-dev",
|
68 |
| - "node-fetch": "^3.3.0", |
69 | 71 | "node-localstorage": "^2.2.1",
|
70 | 72 | "stack-trace": "^1.0.0-pre2"
|
71 | 73 | }
|
|
0 commit comments