|
2 | 2 | "name": "ml-signal-processing", |
3 | 3 | "version": "1.2.0", |
4 | 4 | "description": "Process data in the form of {x:[], y:[]}", |
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 | "keywords": [], |
9 | 8 | "author": "Luc Patiny", |
10 | 9 | "license": "MIT", |
11 | 10 | "files": [ |
12 | 11 | "src", |
13 | 12 | "lib", |
14 | | - "lib-esm", |
15 | 13 | "FilterXYSchema.d.ts", |
16 | 14 | "FilterXYSchema.js", |
17 | 15 | "FilterXYSchema.json" |
18 | 16 | ], |
19 | 17 | "scripts": { |
20 | 18 | "check-types": "tsc --noEmit", |
21 | | - "clean": "rimraf lib lib-esm", |
| 19 | + "clean": "rimraf lib", |
22 | 20 | "createSchema": "typescript-json-schema --refs false ./tsconfig.json FilterXYType > FilterXYSchema.json", |
23 | 21 | "postcreateSchema": "node scripts/create_js_schema.mjs", |
24 | | - "eslint": "eslint src --cache", |
25 | | - "eslint-fix": "npm run eslint -- --fix", |
| 22 | + "eslint": "eslint . --cache", |
| 23 | + "eslint-fix": "node --run eslint -- --fix", |
26 | 24 | "prepack": "npm run createSchema && npm run tsc", |
27 | | - "prettier": "prettier --check src", |
28 | | - "prettier-write": "prettier --write src", |
| 25 | + "prettier": "prettier --check .", |
| 26 | + "prettier-write": "prettier --write .", |
29 | 27 | "test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types", |
30 | 28 | "test-only": "vitest run --coverage", |
31 | | - "tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm", |
32 | | - "tsc-cjs": "tsc --project tsconfig.cjs.json", |
33 | | - "tsc-esm": "tsc --project tsconfig.esm.json" |
| 29 | + "tsc": "npm run clean && npm run tsc-build", |
| 30 | + "tsc-build": "tsc --project tsconfig.build.json" |
34 | 31 | }, |
35 | 32 | "repository": { |
36 | 33 | "type": "git", |
|
41 | 38 | }, |
42 | 39 | "homepage": "https://github.com/mljs/signal-processing#readme", |
43 | 40 | "devDependencies": { |
44 | | - "@vitest/coverage-v8": "^2.1.4", |
45 | | - "eslint": "^9.14.0", |
46 | | - "eslint-config-cheminfo-typescript": "^16.0.0", |
| 41 | + "@vitest/coverage-v8": "^3.2.3", |
| 42 | + "@zakodium/tsconfig": "^1.0.1", |
| 43 | + "eslint": "^9.29.0", |
| 44 | + "eslint-config-cheminfo-typescript": "^18.0.1", |
47 | 45 | "jest-matcher-deep-close-to": "^3.0.2", |
48 | | - "prettier": "^3.3.3", |
| 46 | + "prettier": "^3.5.3", |
49 | 47 | "rimraf": "^6.0.1", |
50 | | - "ts-jest": "^29.2.5", |
51 | | - "typescript": "^5.6.3", |
| 48 | + "typescript": "^5.8.3", |
52 | 49 | "typescript-json-schema": "^0.65.1", |
53 | | - "vitest": "^2.1.4" |
| 50 | + "vitest": "^3.2.3" |
54 | 51 | }, |
55 | 52 | "dependencies": { |
56 | 53 | "baselines": "^1.1.9", |
57 | 54 | "cheminfo-types": "^1.8.1", |
58 | | - "ml-gsd": "^12.1.8", |
| 55 | + "ml-gsd": "^13.0.1", |
59 | 56 | "ml-savitzky-golay-generalized": "^4.2.0", |
60 | | - "ml-spectra-processing": "^14.6.2" |
| 57 | + "ml-spectra-processing": "^14.12.0" |
61 | 58 | } |
62 | 59 | } |
0 commit comments