|
2 | 2 | "name": "netcdfjs", |
3 | 3 | "version": "3.0.0", |
4 | 4 | "description": "Read and explore NetCDF files", |
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 | "keywords": [ |
14 | 14 | "netcdf", |
|
26 | 26 | "scripts": { |
27 | 27 | "check-types": "tsc --noEmit", |
28 | 28 | "clean": "rimraf lib lib-esm", |
29 | | - "eslint": "eslint src --cache", |
| 29 | + "eslint": "eslint src", |
30 | 30 | "eslint-fix": "npm run eslint -- --fix", |
31 | 31 | "prepack": "npm run tsc", |
32 | 32 | "prettier": "prettier --check src", |
33 | 33 | "prettier-write": "prettier --write src", |
34 | | - "test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types", |
35 | | - "test-only": "jest --coverage", |
36 | | - "tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm", |
37 | | - "tsc-cjs": "tsc --project tsconfig.cjs.json", |
38 | | - "tsc-esm": "tsc --project tsconfig.esm.json" |
39 | | - }, |
40 | | - "devDependencies": { |
41 | | - "@types/jest": "^29.5.3", |
42 | | - "cheminfo-types": "^1.7.2", |
43 | | - "eslint": "^8.46.0", |
44 | | - "eslint-config-cheminfo-typescript": "^12.0.4", |
45 | | - "jest": "^29.6.2", |
46 | | - "prettier": "^3.0.1", |
47 | | - "ts-jest": "^29.1.1", |
48 | | - "typescript": "^5.1.6" |
| 34 | + "test": "npm run test-only && npm run check-types && npm run eslint && npm run prettier", |
| 35 | + "test-only": "vitest run --coverage", |
| 36 | + "tsc": "npm run clean && npm run tsc-build", |
| 37 | + "tsc-build": "tsc --project tsconfig.build.json" |
49 | 38 | }, |
50 | 39 | "dependencies": { |
51 | | - "iobuffer": "^5.3.2" |
| 40 | + "iobuffer": "^6.0.1" |
| 41 | + }, |
| 42 | + "devDependencies": { |
| 43 | + "@types/node": "^25.3.5", |
| 44 | + "@vitest/coverage-v8": "^4.0.18", |
| 45 | + "@zakodium/tsconfig": "^1.0.2", |
| 46 | + "eslint": "^9.39.0", |
| 47 | + "eslint-config-cheminfo-typescript": "^21.1.0", |
| 48 | + "prettier": "^3.8.1", |
| 49 | + "rimraf": "^6.1.3", |
| 50 | + "typescript": "^5.9.3", |
| 51 | + "vitest": "^4.0.18" |
52 | 52 | } |
53 | 53 | } |
0 commit comments