50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "calckey-js",
|
|
"version": "0.0.23",
|
|
"description": "Calckey SDK for JavaScript",
|
|
"main": "./built/index.js",
|
|
"types": "./built/index.d.ts",
|
|
"scripts": {
|
|
"build": "pnpm swc src -d built -D && pnpm tsd",
|
|
"render": "pnpm run build && pnpm run api && pnpm run api-prod && cp temp/calckey-js.api.json etc/ && pnpm run api-doc",
|
|
"tsd": "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 rome check --apply *.ts",
|
|
"format": "pnpm rome format --write *.ts",
|
|
"jest": "jest --coverage --detectOpenHandles",
|
|
"test": "pnpm jest && pnpm tsd"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://codeberg.org/calckey/calckey.js"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.36.0",
|
|
"@microsoft/api-documenter": "^7.22.21",
|
|
"@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"
|
|
}
|
|
}
|