-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
129 lines (129 loc) · 4.42 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
124
125
126
127
128
129
{
"name": "react-lazy-data",
"version": "0.2.4",
"description": "Lazy-load data with React Suspense",
"main": "index.js",
"module": "es/index.js",
"exports": {
".": {
"import": "./es/index.js",
"require": "./index.js"
},
"./babel": {
"import": "./es/babel.js",
"require": "./babel.js"
},
"./server": {
"import": "./es/server.js",
"require": "./server.js"
},
"./es": "./es/index.js",
"./es/babel": "./es/babel.js",
"./es/server": "./es/server.js"
},
"sideEffects": false,
"author": {
"name": "Overlook Motel"
},
"repository": {
"type": "git",
"url": "https://github.com/overlookmotel/react-lazy-data.git"
},
"bugs": {
"url": "https://github.com/overlookmotel/react-lazy-data/issues"
},
"dependencies": {
"@babel/runtime": "^7.9.2",
"babel-unique-id": "^0.1.4",
"is-class-component": "^1.1.1",
"is-it-type": "^3.1.1",
"is-promise": "^2.1.0",
"lodash": "^4.17.15",
"react-async-ssr": "^0.7.1",
"tiny-invariant": "^1.1.0"
},
"peerDependencies": {
"react": "^16.8.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-for-of": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@overlookmotel/eslint-config": "^7.1.2",
"@overlookmotel/eslint-config-jest": "^4.0.1",
"@overlookmotel/eslint-config-node": "^2.0.0",
"@overlookmotel/eslint-config-react": "^7.0.0",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@testing-library/jest-dom": "^5.3.0",
"babel-eslint": "^10.1.0",
"babel-plugin-dev-expression": "^0.2.2",
"babel-test": "^0.2.3",
"cheerio": "^1.0.0-rc.3",
"coveralls": "^3.0.11",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"jest": "^25.2.7",
"jest-extended": "^0.11.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rollup": "^2.3.3",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-terser": "^5.3.0"
},
"keywords": [
"react",
"suspense",
"lazy",
"data",
"load",
"async"
],
"scripts": {
"build": "rm -rf ./dist && rollup -c",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run test-src-dev",
"test-all": "npm run test-all-dev && npm run test-all-prod",
"test-all-dev": "npm run test-src-dev && npm run test-cjs-dev && npm run test-esm-dev && npm run test-umd-dev",
"test-all-prod": "npm run test-src-prod && npm run test-cjs-prod && npm run test-esm-prod && npm run test-umd-prod",
"test-src": "npm run test-src-dev && npm run test-src-prod",
"test-src-dev": "npm run test-main",
"test-src-prod": "npm run test-prod",
"test-cjs": "npm run test-cjs-dev && npm run test-cjs-prod",
"test-cjs-dev": "cross-env TEST_ENV=cjs npm run test-main",
"test-cjs-prod": "cross-env TEST_ENV=cjs npm run test-prod",
"test-esm": "npm run test-esm-dev && npm run test-esm-prod",
"test-esm-dev": "cross-env TEST_ENV=esm npm run test-main",
"test-esm-prod": "cross-env TEST_ENV=esm npm run test-prod",
"test-umd": "npm run test-umd-dev && npm run test-umd-prod",
"test-umd-dev": "cross-env TEST_ENV=umd npm run test-main",
"test-umd-prod": "cross-env TEST_ENV=umd npm run test-prod",
"test-main": "cross-env BABEL_ENV=test jest",
"test-prod": "cross-env NODE_ENV=production npm run test-main",
"lint": "eslint '*.js' '.*.js' '**/*.js' '**/.*.js'",
"lint-fix": "eslint '*.js' '.*.js' '**/*.js' '**/.*.js' --fix",
"cover": "npm run cover-main && rm -rf coverage",
"coveralls": "npm run cover-main && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"cover-main": "cross-env COVERAGE=true jest --coverage",
"ci": "if [ $COVERAGE ]; then npm run coveralls; else npm run ci-main; fi",
"ci-main": "npm run lint && npm run build && npm run test-all"
},
"engines": {
"node": ">=10"
},
"readmeFilename": "README.md",
"license": "MIT"
}