-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.36 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.36 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
{
"name": "react-http-fetch",
"version": "1.0.6",
"description": "An http library for React JS built on top of native JS fetch",
"main": "index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"repository": "git@github.com:nebarf/react-http-fetch.git",
"author": "nebarf <francesco.benedetto263@gmail.com>",
"license": "MIT",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"/lib"
],
"engines": {
"node": "^14 || ^16"
},
"dependencies": {
"react-fast-compare": "^3.2.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.1.1",
"@testing-library/react-12": "npm:@testing-library/react@^12.1.2",
"@testing-library/react-hooks": "^8.0.0",
"@types/jest": "^27.0.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"auto-changelog": "^2.3.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.0",
"jest": "^27.2.4",
"jest-fetch-mock": "^3.0.3",
"jest-mock-extended": "^2.0.4",
"lint-staged": "^11.2.0",
"prettier": "^2.4.1",
"react": "^18.0.0",
"react-17": "npm:react@^17.0.2",
"react-dom": "^18.0.0",
"react-dom-17": "npm:react-dom@^17.0.2",
"release-it": "^14.11.6",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"simple-git": "^3.7.0",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
"scripts": {
"before-release-init": "node ./bin/before-release-init.mjs",
"build": "yarn build:esm && yarn build:cjs",
"build:prod": "yarn build:prod:esm && yarn build:prod:cjs",
"build:watch": "yarn build:esm -w && yarn build:cjs -w",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"build:prod:esm": "tsc -p tsconfig.prod.json",
"build:prod:cjs": "tsc -p tsconfig.prod.json --module commonjs --outDir lib/cjs",
"clean-build": "shx rm -rf lib",
"changelog": "auto-changelog -p --template ./changelog.template.hbs",
"commit": "cz",
"commitlint": "commitlint",
"commitizen": "commitizen",
"prepare": "husky install",
"pre-commit": "lint-staged",
"pre-push": "yarn test",
"release": "release-it",
"release:dry-run": "release-it --dry-run",
"release:patch": "release-it patch",
"release:minor": "release-it minor",
"release:major": "release-it major",
"test": "jest -c ./jest.config.js --env=jsdom",
"test:react17": "REACT_VERSION=true yarn test",
"test:watch": "jest -c ./jest.config.js --watch --env=jsdom"
},
"peerDependencies": {
"react": "^17.0.2 || ^18.0.0",
"react-dom": "^17.0.2 || ^18.0.0"
},
"keywords": [
"react-http",
"react-http-fetch",
"react",
"fetch",
"http",
"request",
"response",
"fetch data",
"http client",
"react hooks",
"react http",
"react-http",
"react fetch",
"react-fetch"
]
}