substack-api
Version:
TypeScript API client for interacting with Substack webservice
69 lines (68 loc) • 2.06 kB
JSON
{
"name": "substack-api",
"version": "1.4.0",
"description": "TypeScript API client for interacting with Substack webservice",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"test": "npm run test:unit && npm run test:integration && npm run test:e2e",
"test:unit": "jest",
"test:integration": "jest --config jest.integration.config.js",
"test:e2e": "jest --config jest.e2e.config.js",
"test:watch": "jest --watch",
"test:integration:watch": "jest --config jest.integration.config.js --watch",
"test:e2e:watch": "jest --config jest.e2e.config.js --watch",
"test:all": "npm run test:unit && npm run test:integration && npm run test:e2e",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm test",
"clean": "rm -rf dist",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"sample": "npx ts-node samples/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jakub-k-slys/substack-api.git"
},
"keywords": [
"substack",
"api",
"client",
"typescript"
],
"author": "Jakub Slys",
"license": "MIT",
"bugs": {
"url": "https://github.com/jakub-k-slys/substack-api/issues"
},
"homepage": "https://github.com/jakub-k-slys/substack-api#readme",
"devDependencies": {
"@eslint/js": "^9.29.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.3",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"dotenv": "^17.0.0",
"eslint": "^9.29.0",
"eslint-plugin-prettier": "^5.5.0",
"jest": "^30.0.0",
"jest-junit": "^16.0.0",
"prettier": "^3.5.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.1.3"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"fp-ts": "^2.16.10",
"io-ts": "^2.2.22"
}
}