-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 4.16 KB
/
package.json
File metadata and controls
146 lines (146 loc) · 4.16 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
{
"version": "0.1.5",
"name": "@app-studio/react-request",
"author": "Steedmonteiro <steed@rize.network>",
"description": "Request Hooks to fetch data in React",
"repository": "git@github.com:rize-network/react-request.git",
"license": "MIT",
"bugs": "https://github.com/rize-network/react-request/issues",
"main": "dist/index.js",
"module": "dist/react-request.esm.js",
"unpkg": "dist/react-request.umd.production.min.js",
"typings": "dist/react-request/index.d.ts",
"keywords": [
"react",
"typescript",
"app",
"request"
],
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "react-scripts start",
"build:web": "react-scripts build",
"build": "tsdx build --format cjs,esm,umd --entry ./src/react-request/index.tsx --tsconfig tsconfig.build.json",
"test": "tsdx test --passWithNoTests",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"lint-staged": "lint-staged",
"lint-staged:eslint": "eslint --ext .js,.jsx,.ts,.tsx ",
"eslint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=codeframe ./src",
"eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=codeframe ./src",
"prettier:fix": "prettier --write ./src",
"prettier": "prettier --check ./src",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"size": "size-limit",
"analyze": "size-limit --why",
"upgrade": "ncu -u",
"prerelease": "npm run build",
"release": "release-it"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:fix"
}
},
"lint-staged": {
"./src/**/*.{md,json}": [
"prettier --write"
],
"./src/**/*.{tsx,ts,js}": [
"eslint --cache --fix",
"prettier --write"
]
},
"size-limit": [
{
"path": "dist/react-request.cjs.production.min.js",
"limit": "15 KB"
},
{
"path": "dist/react-request.esm.js",
"limit": "15 KB"
},
{
"path": "dist/react-request.umd.production.min.js",
"limit": "15 KB"
}
],
"dependencies": {
"memory-cache": "^0.2.0",
"qs": "^6.10.3"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^19.2.0",
"@commitlint/config-conventional": "^19.1.0",
"@size-limit/preset-small-lib": "^10.0.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/memory-cache": "^0.2.6",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.2",
"babel-plugin-named-exports-order": "^0.0.2",
"babel-plugin-react-require": "^4.0.0",
"chalk": "^5.3.0",
"cheerio": "^1.0.0-rc.12",
"commitlint": "^18.2.0",
"cross-env": "^7.0.3",
"eslint": "^8.41.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"jscodeshift": "^0.15.1",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"react-router-dom": "^6.11.1",
"react-scripts": "^5.0.1",
"release-it": "^16.2.1",
"size-limit": "^10.0.2",
"ts-loader": "^9.4.2",
"tsc-alias": "^1.8.8",
"tsdx": "^0.14.1",
"tslib": "^2.6.2",
"web-vitals": "^2.1.4",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.1.3",
"yup": "^1.5.0"
},
"peerDependencies": {
"formik": ">=2",
"react": ">=18"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}