|
2 | 2 | "name": "@gmod/tabix", |
3 | 3 | "version": "2.0.5", |
4 | 4 | "description": "Read Tabix-indexed files, supports both .tbi and .csi indexes", |
| 5 | + "type": "module", |
| 6 | + "types": "./dist/index.d.ts", |
| 7 | + "exports": { |
| 8 | + "import": { |
| 9 | + "import": "./esm/index.js" |
| 10 | + }, |
| 11 | + "require": { |
| 12 | + "require": "./dist/index.js" |
| 13 | + } |
| 14 | + }, |
5 | 15 | "license": "MIT", |
6 | 16 | "repository": "GMOD/tabix-js", |
7 | 17 | "main": "dist/index.js", |
|
26 | 36 | "docs": "documentation readme --shallow src/tabixIndexedFile.ts --section TabixIndexedFile", |
27 | 37 | "clean": "rimraf dist esm", |
28 | 38 | "prebuild": "npm run clean && npm run lint", |
29 | | - "build:esm": "tsc --outDir esm", |
30 | | - "build:es5": "tsc --module commonjs --outDir dist", |
| 39 | + "build:esm": "tsc --target es2020 --outDir esm", |
| 40 | + "build:es5": "tsc --target es2020 --module commonjs --outDir dist", |
31 | 41 | "build": "npm run build:esm && npm run build:es5", |
32 | 42 | "postbuild": "webpack", |
33 | 43 | "preversion": "npm run lint && npm test run && npm run build", |
|
50 | 60 | "@eslint/eslintrc": "^3.1.0", |
51 | 61 | "@eslint/js": "^9.9.0", |
52 | 62 | "@types/node": "^20.11.16", |
53 | | - "@typescript-eslint/eslint-plugin": "^8.0.1", |
54 | | - "@typescript-eslint/parser": "^8.0.1", |
55 | 63 | "@vitest/coverage-v8": "^3.0.1", |
56 | 64 | "documentation": "^14.0.3", |
57 | 65 | "eslint": "^9.9.0", |
58 | | - "eslint-plugin-unicorn": "^57.0.0", |
| 66 | + "eslint-plugin-import": "^2.31.0", |
| 67 | + "eslint-plugin-unicorn": "^58.0.0", |
59 | 68 | "prettier": "^3.3.3", |
60 | 69 | "rimraf": "^6.0.1", |
61 | 70 | "standard-changelog": "^6.0.0", |
|
0 commit comments