70ad42c49c
Closes #10751
51 lines
1.4 KiB
JSON
51 lines
1.4 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",
|
|
"jest": "jest --coverage --detectOpenHandles",
|
|
"test": "pnpm jest && pnpm tsd"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.joinfirefish.org/firefish/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",
|
|
"jest": "^27.4.5",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jest-websocket-mock": "^2.2.1",
|
|
"mock-socket": "^9.0.8",
|
|
"ts-jest": "^27.1.2",
|
|
"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"
|
|
}
|
|
}
|