-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
123 lines (123 loc) · 2.88 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "rsrc",
"author": "Signal Sciences",
"description": "React components for managing async fetch state",
"version": "1.3.0",
"publishConfig": {
"access": "public"
},
"browserslist": [
"extends browserslist-config-signalsciences"
],
"keywords": [
"react",
"resource",
"fetch",
"cache"
],
"homepage": "https://github.com/signalsciences/rsrc",
"bugs": {
"url": "https://github.com/signalsciences/rsrc/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/signalsciences/rsrc.git"
},
"license": "MIT",
"files": [
"dist",
"LICENSE",
"README.md"
],
"main": "dist/index.js",
"module": "dist/rsrc.esm.js",
"umd:main": "dist/rsrc.umd.production.js",
"scripts": {
"dev": "yarn start",
"test": "jest src",
"test:watch": "jest src --watch",
"start": "cross-env NODE_ENV=development rollup -c --watch",
"build": "cross-env NODE_ENV=production rollup -c",
"prebuild": "rimraf dist",
"prepublish": "yarn run build",
"format": "prettier --write '{docs,examples,src,test,website}/**/*.{js,json,md}' './*.{js,json,md}'",
"lint-staged": "lint-staged",
"lint": "flow && eslint ."
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint"
],
"*.md": [
"prettier --write"
]
},
"babel": {
"presets": [
"babel-preset-signalsciences"
]
},
"eslintConfig": {
"extends": [
"eslint-config-signalsciences"
],
"rules": {
"react/static-property-placement": "off"
},
"settings": {
"polyfills": [
"fetch",
"Map",
"Promise"
]
}
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"preset": "jest-preset-signalsciences",
"setupFiles": [
"./test/setupJest.js"
],
"testEnvironment": "jest-environment-jsdom-sixteen"
},
"peerDependencies": {
"react": "^16.8 || ^17.0.0",
"react-dom": "^16.8 || ^17.0.0"
},
"devDependencies": {
"@babel/core": "7.12.9",
"@testing-library/react": "11.2.2",
"babel-preset-signalsciences": "4.0.5",
"browserslist-config-signalsciences": "1.0.4",
"core-js": "^3.8.0",
"cross-env": "7.0.2",
"eslint": "7.14.0",
"eslint-config-signalsciences": "4.0.5",
"flow-bin": "0.133.0",
"hashlru": "^2.3.0",
"husky": "4.3.0",
"isomorphic-unfetch": "3.1.0",
"jest": "26.6.3",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-fetch-mock": "3.0.3",
"jest-preset-signalsciences": "4.0.5",
"lint-staged": "10.5.2",
"pre-commit": "1.2.2",
"prettier": "2.2.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"regenerator-runtime": "^0.13.7",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"rollup-config-signalsciences": "4.0.6"
}
}