-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.7 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
{
"name": "react-loader-component",
"version": "2.0.1",
"description": "A React higher order component that dispatches actions and renders loading/error states",
"main": "lib/cjs/react-loader.js",
"module": "lib/module/react-loader.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/xurei/react-loader-component.git"
},
"scripts": {
"pretest": "node_modules/.bin/eslint .",
"test": "BABEL_ENV=coverage npm run test:item && BABEL_ENV=legacy_decorators npm run test:item",
"test:item": "BABEL_ENV=coverage node_modules/.bin/mocha --require @babel/register tests",
"coverage": "BABEL_ENV=coverage node_modules/.bin/nyc --reporter=lcovonly mocha tests",
"postcoverage": "node_modules/.bin/codecov",
"preversion": "npm test",
"build": "rimraf lib/* && npm run build:module && npm run build:cjs",
"build:module": "BABEL_ENV=module node_modules/.bin/babel src -d lib/module",
"build:cjs": "node_modules/.bin/babel src -d lib/cjs",
"prepublishOnly": "npm run build",
"storybook": "BABEL_ENV=development start-storybook -p 6006",
"build-storybook": "BABEL_ENV=production build-storybook"
},
"keywords": [
"react",
"redux",
"rest",
"api",
"loading",
"load"
],
"author": "Olivier Bourdoux",
"license": "MIT",
"dependencies": {
"deep-eql": "^4.0.0",
"is-promise": "^4.0.0"
},
"peerDependencies": {
"react": ">16.3.0 || >17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/register": "^7.11.5",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"@storybook/addon-storysource": "^5.0.26",
"@storybook/cli": "^5.0.26",
"@storybook/react": "^5.0.26",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"chai": "^4.2.0",
"chai-enzyme": "^1.0.0-beta",
"codecov": "^3.8.0",
"core-js": "^3.6.5",
"dirty-chai": "^2.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^7.0.0",
"eslint-config-xurei": "^1.1.1",
"eslint-plugin-promise": "^4.2.0",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-native": "^3.5.0",
"eslint-plugin-security": "^1.4.0",
"jsdom": "^11.12.0",
"jsdom-global": "^3.0.2",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"promsleep": "^1.0.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"request": "^2.88.2",
"rimraf": "^2.7.1",
"sinon": "^9.2.0",
"sinon-chai": "^3.5.0"
}
}