|
2 | 2 | "name": "ml-gsd", |
3 | 3 | "version": "12.1.8", |
4 | 4 | "description": "Global Spectra Deconvolution", |
5 | | - "main": "./lib/index.js", |
6 | | - "module": "./lib-esm/index.js", |
7 | | - "types": "./lib/index.d.ts", |
| 5 | + "type": "module", |
| 6 | + "exports": "./lib/index.js", |
8 | 7 | "files": [ |
9 | 8 | "lib", |
10 | | - "src", |
11 | | - "lib-esm" |
| 9 | + "src" |
12 | 10 | ], |
13 | 11 | "scripts": { |
14 | | - "build": "npm run tsc-esm && cheminfo-build --entry lib-esm/index.js --root GSD", |
| 12 | + "build": "npm run tsc && cheminfo-build --entry lib/index.js --root GSD", |
15 | 13 | "check-types": "tsc --noEmit", |
16 | | - "clean": "rimraf lib lib-esm", |
17 | | - "eslint": "eslint src --cache", |
18 | | - "eslint-fix": "npm run eslint -- --fix", |
| 14 | + "clean": "rimraf lib", |
| 15 | + "eslint": "eslint . --cache", |
| 16 | + "eslint-fix": "eslint . --cache --fix", |
19 | 17 | "prepack": "npm run tsc", |
20 | | - "prettier": "prettier --check src", |
21 | | - "prettier-write": "prettier --write src", |
| 18 | + "prettier": "prettier --check .", |
| 19 | + "prettier-write": "prettier --write .", |
22 | 20 | "test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types", |
23 | 21 | "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" |
| 22 | + "tsc": "npm run clean && npm run tsc-build", |
| 23 | + "tsc-build": "tsc --project tsconfig.build.json" |
27 | 24 | }, |
28 | 25 | "repository": { |
29 | 26 | "type": "git", |
|
54 | 51 | "trailingComma": "all" |
55 | 52 | }, |
56 | 53 | "devDependencies": { |
| 54 | + "@types/node": "^24.0.1", |
57 | 55 | "@vitest/coverage-v8": "^1.6.0", |
| 56 | + "@zakodium/tsconfig": "^1.0.1", |
58 | 57 | "cheminfo-build": "^1.2.0", |
59 | | - "eslint": "^8.57.0", |
60 | | - "eslint-config-cheminfo-typescript": "^12.4.0", |
| 58 | + "eslint": "^9.28.0", |
| 59 | + "eslint-config-cheminfo-typescript": "^18.0.1", |
61 | 60 | "esm": "^3.2.25", |
62 | 61 | "jest-matcher-deep-close-to": "^3.0.2", |
63 | 62 | "mf-global": "^3.0.20", |
64 | 63 | "ml-stat": "^1.3.3", |
65 | 64 | "prettier": "^3.2.5", |
66 | 65 | "rimraf": "^5.0.6", |
67 | 66 | "spectrum-generator": "^8.0.11", |
68 | | - "typescript": "^5.4.5", |
| 67 | + "typescript": "^5.8.3", |
69 | 68 | "vitest": "^1.6.0", |
70 | 69 | "xy-parser": "^5.0.5" |
71 | 70 | }, |
|
74 | 73 | "cheminfo-types": "^1.7.3", |
75 | 74 | "ml-peak-shape-generator": "^4.1.4", |
76 | 75 | "ml-savitzky-golay-generalized": "^4.2.0", |
77 | | - "ml-spectra-fitting": "^4.2.4", |
| 76 | + "ml-spectra-fitting": "^5.0.1", |
78 | 77 | "ml-spectra-processing": "^14.5.3" |
79 | 78 | } |
80 | 79 | } |
0 commit comments