-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
103 lines (103 loc) · 2.77 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-fetch-streams",
"version": "0.0.0-development",
"description": "React hook for the Streams API",
"main": "./dist/index.js",
"module": "./dist/es/index.js",
"typings": "./typings/index.d.ts",
"files": [
"dist/**/*",
"src/*",
"!src/.eslintrc.js",
"!src/*.test.js",
"typings/*",
"LICENSE"
],
"keywords": [
"fetch",
"streams",
"streams-api",
"fetch-streams"
],
"homepage": "https://rolandjitsu.github.io/react-fetch-streams/",
"license": "MIT",
"author": {
"name": "Roland Groza",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/rolandjitsu/react-fetch-streams.git"
},
"scripts": {
"prepublish": "yarn build",
"clean": "rm -rf dist/*",
"prebuild": "yarn clean",
"build": "yarn build:umd && yarn build:es",
"build:umd": "cross-env NODE_ENV=es rollup -c",
"build:es": "cross-env BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore '**/*.test.js'",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "cross-env NODE_ENV=test jest --watch",
"pretest:cov": "yarn lint",
"test:cov": "cross-env NODE_ENV=test jest --coverage"
},
"dependencies": {},
"peerDependencies": {
"react": ">= 16.8"
},
"devDependencies": {
"@babel/cli": "^7.12.7",
"@babel/core": "^7.12.7",
"@babel/eslint-parser": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react-hooks": "^3.4.2",
"babel-jest": "^26.6.3",
"camelcase": "^6.2.0",
"cross-env": "^7.0.2",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react-hooks": "^4.2.0",
"fetch-mock-jest": "^1.3.0",
"jest": "^26.6.3",
"jest-environment-jsdom": "^26.6.2",
"node-fetch": "^2.6.1",
"prettier": "^2.2.0",
"react": "^17.0.1",
"react-app-polyfill": "^2.0.0",
"react-test-renderer": "^17.0.1",
"rollup": "^2.33.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"web-streams-polyfill": "^3.0.1"
},
"engines": {
"node": ">= 10"
},
"browserslist": [
"defaults",
"not ie 11",
"not ie_mob 11",
"not op_mini all",
"not op_mob 59",
"Chrome >= 66",
"Edge >= 79",
"Firefox >= 65",
"Opera >= 53",
"Safari >= 12.1",
"Android >= 66",
"and_chr >= 66",
"and_ff >= 57",
"ios_saf >= 12.2",
"Samsung >= 9.0"
]
}