pocketsmith-ts
Version:
TypeScript client library for PocketSmith API
52 lines (51 loc) • 1.43 kB
JSON
{
"name": "pocketsmith-ts",
"version": "1.1.0",
"description": "TypeScript client library for PocketSmith API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/joho/pocketsmith-ts.git"
},
"homepage": "https://github.com/joho/pocketsmith-ts#readme",
"bugs": {
"url": "https://github.com/joho/pocketsmith-ts/issues"
},
"scripts": {
"build": "tsc",
"download-spec": "curl -o ./specs/pocketsmith-openapi.json https://raw.githubusercontent.com/pocketsmith/api/master/openapi.json",
"generate": "npm run download-spec && openapi-typescript ./specs/pocketsmith-openapi.json -o ./src/types.ts",
"dev": "tsc --watch",
"test": "jest",
"test:integration": "node scripts/test-integration.js",
"test:integration:raw": "jest --testPathPattern=integration",
"prepare": "npm run generate && npm run build"
},
"keywords": [
"pocketsmith",
"api",
"client",
"typescript",
"openapi"
],
"author": "John Barton <jb@johnbarton.co>",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"dotenv": "^16.0.0",
"jest": "^29.0.0",
"openapi-typescript": "^7.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"dependencies": {
"openapi-fetch": "^0.9.0"
}
}