forked from dgieselaar/loadable-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 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
{
"name": "loadable-components",
"version": "2.2.1",
"description": "React code splitting made easy.",
"repository": "git@github.com:smooth-code/loadable-components.git",
"main": "dist/loadable-components.cjs.js",
"jsnext:main": "dist/loadable-components.es.js",
"types": "types/index.d.ts",
"module": "dist/loadable-components.es.js",
"author": "Greg Bergé <berge.greg@gmail.com>",
"keywords": [
"react",
"ssr",
"webpack",
"code-splitting",
"react-router",
"server-side-rendering",
"dynamic-import",
"react-loadable",
"react-async-components"
],
"license": "MIT",
"scripts": {
"build": "rollup -c",
"ci": "yarn build && yarn lint && bundlesize && yarn test --coverage && codecov",
"format": "prettier --write \"src/**/*.js\" \"*.md\"",
"lint": "eslint .",
"prebuild": "rm -rf dist/",
"prepublishOnly": "yarn build",
"typecheck:ts": "dtslint types",
"release": "standard-version && conventional-github-releaser --preset angular",
"test": "jest"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"@types/react": "^16.3.14",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-jest": "^22.4.3",
"babel-plugin-dynamic-import-node": "^1.2.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"bundlesize": "^0.17.0",
"codecov": "^3.0.1",
"conventional-github-releaser": "^2.0.2",
"dtslint": "^0.3.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"jest": "^22.4.3",
"prettier": "^1.12.1",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-router": "^4.2.0",
"react-test-renderer": "^16.3.2",
"rollup": "^0.58.2",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-uglify": "^3.0.0",
"rollup-plugin-visualizer": "^0.6.0",
"standard-version": "^4.3.0"
},
"dependencies": {
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"hoist-non-react-statics": "^2.5.0"
},
"jest": {
"setupFiles": [
"<rootDir>/tests/setupTests.js"
]
},
"bundlesize": [
{
"path": "./dist/loadable-components.min.js",
"maxSize": "2kb"
}
]
}