116 lines
3.7 KiB
JSON
116 lines
3.7 KiB
JSON
{
|
|
"name": "@star-kitten/eve",
|
|
"version": "0.0.1",
|
|
"description": "Star Kitten EVE Library.",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"homepage": "https://git.f302.me/jb/star-kitten#readme",
|
|
"bugs": {
|
|
"url": "https://git.f302.me/jb/star-kitten/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.f302.me/jb/star-kitten.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"
|
|
},
|
|
"./esi": {
|
|
"import": "./dist/esi/index.js",
|
|
"types": "./dist/esi/index*.d.ts",
|
|
"require": "./dist/esi/index.js"
|
|
},
|
|
"./db": {
|
|
"import": "./dist/db/index.js",
|
|
"types": "./dist/db/index*.d.ts",
|
|
"require": "./dist/db/index.js"
|
|
},
|
|
"./ref": {
|
|
"import": "./dist/ref/index.js",
|
|
"types": "./dist/ref/index*.d.ts",
|
|
"require": "./dist/ref/index.js"
|
|
},
|
|
"./third-party/janice.js": {
|
|
"import": "./dist/third-party/janice.js",
|
|
"types": "./dist/types/third-party/janice.d.ts",
|
|
"require": "./dist/third-party/janice.js"
|
|
},
|
|
"./models": {
|
|
"import": "./dist/models/index.js",
|
|
"types": "./dist/models/index*.d.ts",
|
|
"require": "./dist/models/index.js"
|
|
},
|
|
"./data/*": "./data/*",
|
|
"./discord": {
|
|
"import": "./dist/discord/index.js",
|
|
"require": "./dist/discord/index.js",
|
|
"types": "./dist/types/discord/index.d.ts"
|
|
}
|
|
},
|
|
"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",
|
|
"openapi-fetch": "^0.15.0",
|
|
"openapi-typescript": "^7.10.1",
|
|
"prettier-plugin-multiline-arrays": "^4.0.3",
|
|
"tsdown": "^0.14.2",
|
|
"typescript": "beta"
|
|
},
|
|
"dependencies": {
|
|
"@star-kitten/util": "link:@star-kitten/util",
|
|
"@orama/orama": "^3.1.13",
|
|
"@oslojs/encoding": "^1.1.0",
|
|
"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",
|
|
"link": "bun link",
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|