51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "iceshrimp-js",
|
|
"version": "0.0.24",
|
|
"description": "iceshrimp SDK for JavaScript",
|
|
"main": "./built/index.js",
|
|
"types": "./built/index.d.ts",
|
|
"scripts": {
|
|
"build": "swc src -d built -D",
|
|
"build:debug": "swc src -d built -s -D",
|
|
"render": "yarn build && yarn api && yarn api-prod && cp temp/iceshrimp-js.api.json etc/ && yarn api-doc",
|
|
"tsd": "tsc && tsd",
|
|
"api": "api-extractor run --local --verbose",
|
|
"api-prod": "api-extractor run --verbose",
|
|
"api-doc": "api-documenter markdown -i ./etc/",
|
|
"lint": "rome check --apply *.ts",
|
|
"format": "rome format --write *.ts",
|
|
"jest": "jest --coverage --detectOpenHandles",
|
|
"test": "jest && tsd"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://iceshrimp.dev/iceshrimp/iceshrimp.git"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-documenter": "^7.22.21",
|
|
"@microsoft/api-extractor": "^7.36.0",
|
|
"@swc/cli": "^0.1.62",
|
|
"@swc/core": "^1.3.62",
|
|
"@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"
|
|
}
|
|
}
|