Files
star-kitten/packages/lib/package.json

165 lines
5.3 KiB
JSON

{
"name": "@star-kitten/lib",
"version": "0.0.1",
"description": "Star Kitten Library.",
"type": "module",
"license": "MIT",
"homepage": "https://github.com/author/library#readme",
"bugs": {
"url": "https://github.com/author/library/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/author/library.git"
},
"author": "JB <j-b-3.deviate267@passmail.net>",
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index*.d.ts"
},
"./util": {
"types": "./dist/util/index.d.ts",
"require": "./dist/util/index.js",
"import": "./dist/util/index.js"
},
"./util/*": {
"types": "./dist/util/*",
"require": "./dist/util/*",
"import": "./dist/util/*"
},
"./eve": {
"types": "./dist/eve/index*.d.ts",
"require": "./dist/eve/index.js",
"import": "./dist/eve/index.js"
},
"./eve/esi": {
"import": "./dist/eve/esi/index.js",
"types": "./dist/eve/esi/index*.d.ts",
"require": "./dist/eve/esi/index.js"
},
"./eve/db": {
"import": "./dist/eve/db/index.js",
"types": "./dist/eve/db/index*.d.ts",
"require": "./dist/eve/db/index.js"
},
"./eve/ref": {
"import": "./dist/eve/ref/index.js",
"types": "./dist/eve/ref/index*.d.ts",
"require": "./dist/eve/ref/index.js"
},
"./eve/third-party/janice.js": {
"import": "./dist/eve/third-party/janice.js",
"types": "./dist/types/eve/third-party/janice.d.ts",
"require": "./dist/eve/third-party/janice.js"
},
"./eve/models": {
"import": "./dist/eve/models/index.js",
"types": "./dist/eve/models/index*.d.ts",
"require": "./dist/eve/models/index.js"
},
"./eve/data/*": "./data/*",
"./discord": {
"import": "./dist/discord/index.js",
"require": "./dist/discord/index.js",
"types": "./dist/types/discord/index.d.ts"
},
"./discord/commands": {
"require": "./dist/discord/commands/index.js",
"import": "./dist/discord/commands/index.js",
"types": "./dist/types/discord/commands/index.d.ts"
},
"./discord/components": {
"types": "./dist/types/discord/components/index.d.ts",
"require": "./dist/discord/components/index.js",
"import": "./dist/discord/components/index.js"
},
"./discord/pages": {
"require": "./dist/discord/pages/index.js",
"import": "./dist/discord/pages/index.js",
"types": "./dist/types/discord/pages/index.d.ts"
},
"./discord/common": {
"require": "./dist/discord/common/index.js",
"import": "./dist/discord/common/index.js"
},
"./discord/jsx": {
"types": "./dist/discord/jsx/types.d.ts",
"import": "./dist/discord/jsx/index.js"
},
"./discord/jsx-runtime": {
"types": "./dist/discord/jsx/types.d.ts",
"default": "./dist/discord/jsx/jsx-runtime.js"
},
"./discord/jsx-dev-runtime": {
"types": "./dist/discord/jsx/types.d.ts",
"default": "./dist/discord/jsx/jsx-dev-runtime.js"
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/bun": "^1.3.5",
"@types/jsonwebtoken": "^9.0.10",
"@types/jwk-to-pem": "^2.0.3",
"@types/lodash": "^4.17.20",
"@types/node": "^22.15.17",
"@types/node-cache": "^4.2.5",
"@types/stream-chain": "^2.1.0",
"@types/stream-json": "^1.7.8",
"@vitest/coverage-v8": "^3.2.4",
"bumpp": "^10.1.0",
"drizzle-kit": "^0.31.4",
"ghooks": "^2.0.4",
"openapi-fetch": "^0.15.0",
"openapi-typescript": "^7.10.1",
"prettier-plugin-multiline-arrays": "^4.0.3",
"tsdown": "^0.14.2",
"typescript": "^5.9.2"
},
"dependencies": {
"@orama/orama": "^3.1.13",
"@oslojs/encoding": "^1.1.0",
"@projectdysnomia/dysnomia": "github:projectdysnomia/dysnomia#dev",
"acorn": "^8.14.0",
"acorn-jsx": "^5.3.2",
"cron-parser": "^5.3.1",
"date-fns": "^4.1.0",
"domhandler": "^5.0.3",
"drizzle-orm": "^0.44.5",
"elysia": "^1.4.20",
"fp-filters": "^0.5.4",
"html-dom-parser": "^5.1.1",
"jsonwebtoken": "^9.0.2",
"jwk-to-pem": "^2.0.7",
"jwt-decode": "^4.0.0",
"lodash": "^4.17.21",
"node-cache": "^5.1.2",
"stream-chain": "^3.4.0",
"stream-json": "^1.9.1",
"winston": "^3.17.0"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"test": "bun test",
"typecheck": "tsc --noEmit",
"release": "bumpp && npm publish",
"generate-migrations": "bunx drizzle-kit generate --dialect sqlite --schema ./src/db/schema.ts",
"migrate": "bun run ./src/db/migrate.ts",
"postinstall": "bun run get-data",
"everef-api": "bunx openapi-typescript https://raw.githubusercontent.com/autonomouslogic/eve-ref/refs/heads/main/spec/eve-ref-api.yaml -o src/eve/everef/schema.d.ts",
"get-data": "bun run refresh:reference-data && bun run refresh:hoboleaks",
"refresh:reference-data": "bun run scripts/download-and-extract.ts https://data.everef.net/reference-data/reference-data-latest.tar.xz ./data/reference-data",
"refresh:hoboleaks": "bun run scripts/download-and-extract.ts https://data.everef.net/hoboleaks-sde/hoboleaks-sde-latest.tar.xz ./data/hoboleaks",
"static-export": "bun run scripts/export-solar-systems.ts"
}
}