|
2 | 2 | "name": "arraybuffer-xml-parser", |
3 | 3 | "version": "1.0.0", |
4 | 4 | "description": "Parse XML files contained in an array buffer", |
5 | | - "main": "./lib/index.js", |
6 | | - "module": "./lib-esm/index.js", |
7 | | - "types": "./lib/index.d.ts", |
| 5 | + "type": "module", |
| 6 | + "exports": { |
| 7 | + ".": "./lib/index.js" |
| 8 | + }, |
8 | 9 | "files": [ |
9 | | - "src", |
10 | 10 | "lib", |
11 | | - "lib-esm" |
| 11 | + "src" |
12 | 12 | ], |
13 | 13 | "scripts": { |
14 | | - "build": "npm run tsc-esm && cheminfo-build --entry lib-esm/index.js --root XMLParser", |
| 14 | + "build": "npm run tsc-build && cheminfo-build --entry lib/index.js --root XMLParser", |
15 | 15 | "check-types": "tsc --noEmit", |
16 | 16 | "clean": "rimraf lib lib-esm", |
17 | 17 | "eslint": "eslint src", |
|
21 | 21 | "prettier-write": "prettier --write src", |
22 | 22 | "test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types", |
23 | 23 | "test-only": "vitest run --coverage", |
24 | | - "tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm", |
25 | | - "tsc-cjs": "tsc --project tsconfig.cjs.json", |
26 | | - "tsc-esm": "tsc --project tsconfig.esm.json" |
| 24 | + "tsc": "npm run clean && npm run tsc-build", |
| 25 | + "tsc-build": "tsc --project tsconfig.build.json" |
27 | 26 | }, |
28 | 27 | "repository": { |
29 | 28 | "type": "git", |
|
38 | 37 | "homepage": "https://github.com/cheminfo/arraybuffer-xml-parser#readme", |
39 | 38 | "devDependencies": { |
40 | 39 | "@types/he": "^1.2.3", |
41 | | - "@vitest/coverage-v8": "2.1.7", |
42 | | - "cheminfo-build": "^1.2.0", |
43 | | - "eslint": "^9.16.0", |
44 | | - "eslint-config-cheminfo-typescript": "^17.0.0", |
45 | | - "globals": "^15.13.0", |
| 40 | + "@vitest/coverage-v8": "4.0.12", |
| 41 | + "@zakodium/tsconfig": "^1.0.2", |
| 42 | + "cheminfo-build": "^1.3.1", |
| 43 | + "eslint": "^9.39.1", |
| 44 | + "eslint-config-cheminfo-typescript": "^21.0.1", |
| 45 | + "globals": "^16.5.0", |
46 | 46 | "he": "^1.2.0", |
47 | | - "iobuffer": "^5.3.2", |
48 | | - "ml-spectra-processing": "^14.8.0", |
| 47 | + "ml-spectra-processing": "^14.18.1", |
49 | 48 | "pako": "^2.1.0", |
50 | | - "prettier": "^3.4.1", |
51 | | - "rimraf": "^6.0.1", |
52 | | - "typescript": "^5.7.2", |
53 | | - "uint8-base64": "^0.1.1", |
54 | | - "vitest": "^2.1.7" |
| 49 | + "prettier": "^3.6.2", |
| 50 | + "rimraf": "^6.1.2", |
| 51 | + "typescript": "^5.9.3", |
| 52 | + "uint8-base64": "^1.0.0", |
| 53 | + "vitest": "^4.0.12" |
55 | 54 | }, |
56 | 55 | "dependencies": { |
| 56 | + "@types/node": "^24.10.1", |
57 | 57 | "dynamic-typing": "^1.0.1" |
58 | 58 | } |
59 | 59 | } |
0 commit comments