Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.1 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 3.1 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
{
"name": "react-api-forge",
"version": "2.0.0",
"description": "A flexible and robust React hook factory for creating API hooks with consistent patterns",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "rollup -c",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"typecheck": "tsc --noEmit",
"dev": "pwsh -ExecutionPolicy Bypass -File scripts/dev.ps1",
"dev:test": "pwsh -ExecutionPolicy Bypass -File scripts/dev.ps1 -Task test",
"dev:build": "pwsh -ExecutionPolicy Bypass -File scripts/dev.ps1 -Task build",
"dev:lint": "pwsh -ExecutionPolicy Bypass -File scripts/dev.ps1 -Task lint",
"dev:typecheck": "pwsh -ExecutionPolicy Bypass -File scripts/dev.ps1 -Task typecheck",
"prepublishOnly": "bun run build && bun run test && bun run lint && bun run typecheck",
"setup": "node scripts/setup.js",
"setup:ps": "pwsh -ExecutionPolicy Bypass -File scripts/setup.ps1",
"release": "node scripts/release.js patch",
"release:minor": "node scripts/release.js minor",
"release:major": "node scripts/release.js major",
"release:ps": "pwsh -ExecutionPolicy Bypass -File scripts/release.ps1",
"release:ps:minor": "pwsh -ExecutionPolicy Bypass -File scripts/release.ps1 -VersionType minor",
"release:ps:major": "pwsh -ExecutionPolicy Bypass -File scripts/release.ps1 -VersionType major"
},
"packageManager": "bun@latest",
"repository": {
"type": "git",
"url": "git+https://github.com/charlite/react-api-forge.git"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/charlite/react-api-forge#readme",
"bugs": {
"url": "https://github.com/charlite/react-api-forge/issues"
},
"keywords": [
"react",
"hooks",
"api",
"axios",
"typescript",
"factory",
"http",
"rest",
"client",
"fetch",
"state-management",
"loading",
"error-handling"
],
"author": {
"name": "charlite",
"url": "https://github.com/charlite"
},
"license": "MIT",
"dependencies": {
"axios": "^1.16.1"
},
"peerDependencies": {
"axios": "^1.16.1",
"react": "^19.2.6"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@rollup/plugin-typescript": "^12.3.0",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.15",
"@typescript-eslint/eslint-plugin": "^8.60.0",
"@typescript-eslint/parser": "^8.60.0",
"eslint": "^10.4.0",
"jest": "^30.4.2",
"react": "^19.2.6",
"rollup": "^4.60.4",
"ts-jest": "^29.4.11",
"tslib": "^2.8.1",
"typescript": "^6.0.3"
}
}