-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 4.02 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"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
}
}