forked from marcin-piela/react-fetching-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.29 KB
/
package.json
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
{
"name": "react-fetching-library",
"version": "1.7.6",
"description": "Simple and powerful API client for react. Use hooks or FACC's to fetch data in easy way. No dependencies! Just react under the hood.",
"main": "lib/index.js",
"files": [
"lib/**/*"
],
"types": "lib/index.d.ts",
"scripts": {
"clean": "rm -rf lib",
"test": "jest --verbose --env=jsdom",
"build-package": "rollup --config",
"pre-commit": "yarn lint-fix && yarn format",
"build": "yarn clean && yarn build-package",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"src/**/*.js\" \"examples/**/*.ts\" \"examples/**/*.js\" \"examples/**/*.tsx\"",
"lint": "tslint -p tsconfig.json",
"lint-fix": "yarn run tslint --fix --project ./tsconfig.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts, tsx}": [
"yarn pre-commit",
"git add"
]
},
"keywords": [
"react",
"fetch",
"react-fetch",
"fetch-data",
"api",
"rest",
"client",
"hooks",
"suspense",
"react-suspense",
"facc",
"faccs"
],
"author": "Marcin Piela <[email protected]>",
"license": "MIT",
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "0.21.0",
"@rollup/plugin-typescript": "3.0.0",
"@testing-library/react": "^8.0.1",
"@types/fetch-mock": "^7.3.1",
"@types/jest": "^24.0.15",
"@types/node": "^12.0.8",
"@types/react": "^16.8.20",
"@types/react-dom": "^16.8.4",
"codecov": "^3.5.0",
"fetch-mock": "^7.3.3",
"google-closure-compiler": "20200204.0.0",
"husky": "^2.4.1",
"jest": "^24.8.0",
"jest-dom": "^3.5.0",
"lint-staged": "^8.2.1",
"prettier": "^1.18.2",
"promise": "^8.0.3",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hooks-testing-library": "^0.5.1",
"react-test-renderer": "^16.8.6",
"rollup": "1.31.1",
"rollup-plugin-dts": "1.2.1",
"set-value": "3.0.1",
"ts-jest": "^24.0.2",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "3.7.5"
},
"peerDependencies": {
"react": ">=16.8.4",
"react-dom": ">=16.8.4"
},
"repository": {
"type": "git",
"url": "https://github.com/marcin-piela/react-fetching-library.git"
}
}