macro_api
Version:
A comprehensive, production-ready API toolkit for various services including Stripe, Slack, SendGrid, Vercel, AWS S3, Docker Hub, and more.
158 lines • 4.28 kB
JSON
{
"name": "macro_api",
"version": "3.0.1",
"description": "A comprehensive, production-ready API toolkit for various services including Stripe, Slack, SendGrid, Vercel, AWS S3, Docker Hub, and more.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://macro-api-nine.vercel.app/",
"repository": {
"type": "git",
"url": "https://github.com/cptcr/macro_api.git"
},
"bugs": {
"url": "https://github.com/cptcr/macro_api/issues"
},
"license": "Apache-2.0",
"author": {
"name": "CPTCR",
"url": "https://github.com/cptcr"
},
"keywords": [
"api",
"sdk",
"typescript",
"stripe",
"slack",
"sendgrid",
"vercel",
"aws",
"s3",
"docker",
"youtube",
"spotify",
"valorant",
"deepseek",
"chatgpt",
"github",
"notion",
"paypal",
"football",
"payments",
"email",
"deployment",
"storage",
"containers",
"webhooks",
"automation"
],
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf dist",
"dev": "tsc --watch",
"prepare": "npm run build",
"prepublishOnly": "npm run validate && npm run build",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "jest --testPathPattern=unit --coverage --passWithNoTests",
"test:integration": "jest --testPathPattern=integration --runInBand --passWithNoTests",
"test:performance": "jest --testPathPattern=performance --runInBand --passWithNoTests",
"test:performance:compare": "node scripts/performance-compare.js",
"test:package": "node scripts/test-package.js",
"test:watch": "jest --watch --passWithNoTests",
"test:all": "jest --passWithNoTests",
"lint": "eslint src --ext .ts --fix",
"lint:check": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"type-check": "tsc --noEmit",
"docs:generate": "typedoc src/index.ts --out docs --theme default",
"docs:serve": "http-server docs -p 8080",
"release": "standard-version",
"release:minor": "standard-version --release-as minor",
"release:major": "standard-version --release-as major",
"release:patch": "standard-version --release-as patch",
"security:audit": "npm audit --audit-level=moderate",
"security:fix": "npm audit fix",
"validate": "npm run type-check"
},
"dependencies": {
"axios": "^1.6.7"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-security": "^2.1.1",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.2"
},
"peerDependencies": {
"ioredis": "^5.0.0"
},
"peerDependenciesMeta": {
"ioredis": {
"optional": true
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/*.test.ts",
"!src/**/__tests__/**"
],
"coverageReporters": [
"text",
"lcov",
"html"
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 70,
"lines": 70,
"statements": 70
}
},
"testMatch": [
"**/__tests__/**/*.test.ts",
"**/tests/**/*.test.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.ts"
],
"testTimeout": 30000
}
}