mirror of
https://github.com/jakejarvis/rdapper.git
synced 2026-09-23 00:15:31 -04:00
- Delegate `exports` map generation to tsdown (`exports: true`) and simplify `package.json` to a bare `"." : "./dist/index.mjs"` entry plus `"./package.json"`; drop redundant `main`/`module` fields - Add `sideEffects: false` to `package.json` so bundlers can tree-shake the package - Enable `clean: true` and `failOnWarn: true` in `tsdown.config.ts` for a cleaner build and stricter warning enforcement - Suppress the TypeScript 7.0 experimental-API warning emitted by tsdown - Bump `typescript` dev dependency to `^7.0.2`
71 lines
1.4 KiB
JSON
71 lines
1.4 KiB
JSON
{
|
|
"name": "rdapper",
|
|
"version": "0.16.2",
|
|
"description": "🎩 RDAP/WHOIS fetcher, parser, and normalizer for Node",
|
|
"keywords": [
|
|
"domain",
|
|
"lookup",
|
|
"normalizer",
|
|
"parser",
|
|
"rdap",
|
|
"registration",
|
|
"whois"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/jakejarvis/rdapper/issues"
|
|
},
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Jake Jarvis",
|
|
"email": "jake@jarv.is",
|
|
"url": "https://jarv.is"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jakejarvis/rdapper.git"
|
|
},
|
|
"bin": {
|
|
"rdapper": "bin/cli.mjs"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"types": "./dist/index.d.mts",
|
|
"exports": {
|
|
".": "./dist/index.mjs",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsdown --watch",
|
|
"cli": "node bin/cli.mjs",
|
|
"lint": "oxlint",
|
|
"lint:fix": "oxlint --fix",
|
|
"fmt": "oxfmt",
|
|
"fmt:check": "oxfmt --check",
|
|
"test": "vitest run",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"tldts": "~7.4.13"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.6.2",
|
|
"oxfmt": "^0.68.0",
|
|
"oxlint": "^1.83.0",
|
|
"oxlint-tsgolint": "^7.0.2002",
|
|
"tsdown": "^0.23.0",
|
|
"typescript": "^7.0.2",
|
|
"vite": "^8.3.0",
|
|
"vitest": "^5.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|