-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.07 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 3.07 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
{
"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": "npm run build && npm run test && npm run lint && npm 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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xarlizard/react-api-forge.git"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/xarlizard/react-api-forge#readme",
"bugs": {
"url": "https://github.com/xarlizard/react-api-forge/issues"
},
"keywords": [
"react",
"hooks",
"api",
"axios",
"typescript",
"factory",
"http",
"rest",
"client",
"fetch",
"state-management",
"loading",
"error-handling"
],
"author": {
"name": "Xarlizard",
"url": "https://github.com/xarlizard"
},
"license": "MIT",
"dependencies": {
"axios": "^1.13.2"
},
"peerDependencies": {
"axios": "^1.13.2",
"react": "^19.2.3"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@rollup/plugin-typescript": "^12.3.0",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.7",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"eslint": "^9.39.2",
"jest": "^30.2.0",
"react": "^19.2.3",
"rollup": "^4.53.3",
"ts-jest": "^29.4.6",
"tslib": "^2.0.0",
"typescript": "^5.9.3"
}
}