-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
103 lines (103 loc) · 2.57 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "react-api-data",
"version": "1.2.0",
"description": "Fetch and normalize data from api",
"main": "lib/index.js",
"scripts": {
"test": "jest",
"test-watch": "jest --watch",
"build": "npm run test && npm run build:clean && npm run build:lib && npm run build:flow",
"build:clean": "rimraf lib/",
"build:lib": "npx tsc",
"build:flow": "flow examples && flow-copy-source flow lib",
"build:docs": "documentation build lib/index.js -f md > api.md",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oberonamsterdam/react-api-data.git"
},
"keywords": [
"redux",
"json",
"fetch",
"normalize",
"typeScript support"
],
"author": "Richard van Willegen",
"license": "MIT",
"bugs": {
"url": "https://github.com/oberonamsterdam/react-api-data/issues"
},
"homepage": "https://github.com/oberonamsterdam/react-api-data#readme",
"devDependencies": {
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.4.0",
"@types/node": "^12.20.43",
"@types/react": "^17.0.39",
"@types/react-redux": "^7.1.22",
"@types/redux-mock-store": "^1.0.3",
"@types/shallowequal": "^1.1.1",
"flow-bin": "^0.171.0",
"flow-copy-source": "^2.0.9",
"flow-typed": "^3.6.1",
"husky": "^1.3.1",
"jest": "^27.5.1",
"normalizr": "^3.6.1",
"oberon-prettier-config": "^1.0.0",
"prettier": "^1.19.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "7.2.6",
"react-test-renderer": "^17.0.2",
"redux": "^4.1.2",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.4.1",
"ts-jest": "^27.1.3",
"tslint": "^5.20.1",
"tslint-config-oberon": "^1.0.4",
"typescript": "^4.5.5"
},
"dependencies": {
"hoist-non-react-statics": "^3.3.2",
"normalizr": "^3.6.1",
"query-string": "^6.14.1",
"shallowequal": "^1.1.0"
},
"PeerDependencies": {
"normalizr": "^3.0.0",
"redux-thunk": "^2.0.0",
"react": "^16.9.0",
"react-redux": "7.1.3"
},
"jest": {
"automock": false,
"globals": {
"ts-jest": {
"diagnostics": true
}
},
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "tslint --project ."
}
}
}