Files
mridatalib/package.json
T
orrisroot 470164320f build: replace eslint with biome and upgrade typescript to 7
typescript-eslint does not support TypeScript 7 yet, so retire ESLint
and lint with Biome, which the site repositories already use.

- Enable the Biome linter with the recommended preset
- Turn off noAssignInExpressions for the inline offset advances in
  the binary header parsers
- Exclude dist instead of build from Biome
- Run biome lint for the lint and lint:fix scripts
- Remove eslint, @eslint/js and the typescript-eslint packages
- Upgrade typescript to 7.0.2, tsdown to 0.23.0 and biome to 2.5.13
2026-09-15 20:30:54 +09:00

52 lines
1.1 KiB
JSON

{
"name": "@niu/mridatalib",
"publishConfig": {
"registry": "https://git.ni.riken.jp/api/packages/niu/npm/"
},
"version": "1.0.0",
"type": "module",
"license": "MIT",
"files": [
"dist"
],
"exports": {
"./g3d": {
"import": {
"types": "./dist/g3d.d.mts",
"default": "./dist/g3d.mjs"
},
"require": {
"types": "./dist/g3d.d.cts",
"default": "./dist/g3d.cjs"
}
},
"./m3d": {
"import": {
"types": "./dist/m3d.d.mts",
"default": "./dist/m3d.mjs"
},
"require": {
"types": "./dist/m3d.d.cts",
"default": "./dist/m3d.cjs"
}
}
},
"scripts": {
"build": "tsdown",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"format": "biome format --write .",
"format:check": "biome format .",
"check": "biome check .",
"check:fix": "biome check --write .",
"prepublishOnly": "npm run build",
"publish:dry": "npm publish --dry-run",
"release": "npm publish"
},
"devDependencies": {
"@biomejs/biome": "^2.5.13",
"tsdown": "^0.23.0",
"typescript": "^7.0.2"
}
}