|
1 | 1 | { |
2 | 2 | "name": "@ts-stack/chain-error", |
| 3 | + "type": "module", |
3 | 4 | "version": "1.2.0", |
| 5 | + "exports": { |
| 6 | + "./package.json": { |
| 7 | + "default": "./package.json" |
| 8 | + }, |
| 9 | + ".": { |
| 10 | + "types": "./dist/index.d.ts", |
| 11 | + "default": "./dist/index.js" |
| 12 | + } |
| 13 | + }, |
| 14 | + "imports": { |
| 15 | + "#lib/*": "./dist/*" |
| 16 | + }, |
4 | 17 | "description": "Richer JavaScript errors", |
5 | | - "main": "dist/index", |
6 | | - "typings": "dist/index", |
7 | 18 | "repository": "https://github.com/ts-stack/chain-error.git", |
8 | 19 | "homepage": "https://github.com/ts-stack/chain-error", |
9 | 20 | "license": "MIT", |
10 | 21 | "scripts": { |
11 | | - "test": "jest --no-cache", |
12 | | - "rm-dists": "rimraf dist/* && rimraf dist-test/*", |
13 | | - "build": "rimraf dist/* && tsc", |
14 | | - "tslint": "tslint --project ./tsconfig.json '{src}/**/*.ts' --fix" |
15 | | - }, |
16 | | - "resolutions": { |
17 | | - "node-notifier": "^8.0.1" |
| 22 | + "test": "yarn build-test && yarn esm-jest", |
| 23 | + "esm-jest": "yarn node --experimental-vm-modules --no-warnings=ExperimentalWarning --enable-source-maps $(yarn bin jest)", |
| 24 | + "build": "tsc -b packages", |
| 25 | + "build-test": "tsc -b tsconfig.test.json" |
18 | 26 | }, |
19 | 27 | "dependencies": { |
20 | 28 | "assert-plus": "^1.0.0" |
21 | 29 | }, |
22 | 30 | "devDependencies": { |
23 | | - "@types/assert-plus": "^1.0.4", |
24 | | - "@types/jasmine": "^3.5.10", |
25 | | - "@types/jest": "^25.2.1", |
26 | | - "jasmine": "^3.3.0", |
27 | | - "jest": "^25.3.0", |
28 | | - "prettier": "^2.0.4", |
29 | | - "rimraf": "^3.0.2", |
30 | | - "ts-jest": "^25.3.1", |
31 | | - "tslint": "^6.1.1", |
32 | | - "tslint-config-prettier": "^1.15.0", |
33 | | - "tslint-plugin-prettier": "^2.0.1", |
34 | | - "typescript": "^3.8.3" |
35 | | - } |
| 31 | + "@types/assert-plus": "^1.0.8", |
| 32 | + "rimraf": "^6.0.1", |
| 33 | + "@eslint/js": "^9.11.1", |
| 34 | + "@types/eslint__js": "^8.42.3", |
| 35 | + "@types/jest": "^29.5.13", |
| 36 | + "@types/node": "^20.16.7", |
| 37 | + "eslint": "^8.57.1", |
| 38 | + "jest": "^29.7.0", |
| 39 | + "nodemon": "^3.1.7", |
| 40 | + "prettier": "^3.3.3", |
| 41 | + "ts-node": "^10.9.2", |
| 42 | + "typescript": "~5.5.4", |
| 43 | + "typescript-eslint": "^8.7.0" |
| 44 | + }, |
| 45 | + "keywords": [ |
| 46 | + "ts-stack", |
| 47 | + "error", |
| 48 | + "errors" |
| 49 | + ] |
36 | 50 | } |
0 commit comments