45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "firefish-js",
|
|
"version": "0.0.24",
|
|
"description": "Firefish SDK for JavaScript",
|
|
"main": "./built/index.js",
|
|
"types": "./built/index.d.ts",
|
|
"scripts": {
|
|
"build": "pnpm swc src -d built -D",
|
|
"build:debug": "pnpm swc src -d built -s -D",
|
|
"render": "pnpm run build && pnpm run api && pnpm run api-prod && cp temp/firefish-js.api.json etc/ && pnpm run api-doc",
|
|
"tsd": "tsc && tsd",
|
|
"api": "pnpm api-extractor run --local --verbose",
|
|
"api-prod": "pnpm api-extractor run --verbose",
|
|
"api-doc": "pnpm api-documenter markdown -i ./etc/",
|
|
"lint": "pnpm biome check --apply **/*.ts",
|
|
"format": "pnpm biome format --write **/*.ts"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://code.naskya.net/naskya/firefish.git"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.36.0",
|
|
"@microsoft/api-documenter": "^7.22.21",
|
|
"@swc/cli": "^0.1.62",
|
|
"@swc/core": "1.3.78",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/node": "20.3.1",
|
|
"mock-socket": "^9.0.8",
|
|
"ts-node": "10.4.0",
|
|
"tsd": "^0.28.1",
|
|
"typescript": "5.1.3"
|
|
},
|
|
"files": [
|
|
"built"
|
|
],
|
|
"dependencies": {
|
|
"eventemitter3": "^4.0.7",
|
|
"reconnecting-websocket": "^4.4.0",
|
|
"semver": "^7.3.8"
|
|
},
|
|
"optionalDependencies": {
|
|
"@swc/core-android-arm64": "1.3.11"
|
|
}
|
|
}
|