mirror of
https://github.com/gregberge/loadable-components.git
synced 2026-01-18 15:12:26 +00:00
88 lines
2.6 KiB
JSON
88 lines
2.6 KiB
JSON
{
|
|
"name": "loadable-components",
|
|
"version": "1.4.0",
|
|
"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",
|
|
"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": "rm -rf dist/ && rollup -c",
|
|
"ci": "yarn build && yarn lint && bundlesize && yarn test --coverage && codecov",
|
|
"format": "prettier --write \"src/**/*.js\" \"*.md\"",
|
|
"lint": "eslint .",
|
|
"release": "yarn build && standard-version && conventional-github-releaser --preset angular",
|
|
"test": "jest"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^15.0.0 || ^16.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"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.0",
|
|
"conventional-github-releaser": "^2.0.2",
|
|
"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.0",
|
|
"rollup-plugin-babel": "^3.0.3",
|
|
"rollup-plugin-commonjs": "^9.1.0",
|
|
"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"
|
|
}
|
|
]
|
|
}
|