react-error-boundaries
Version:
React HOC for error boundaries.
58 lines (57 loc) • 2.19 kB
JSON
{
"name": "react-error-boundaries",
"version": "1.1.4",
"description": "React HOC for error boundaries.",
"main": "dist/commonjs/index.js",
"scripts": {
"build": "npm run build:commonjs && npm run build:es && npm run build:umd",
"build:commonjs": "npm run clean:commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs",
"build:es": "npm run clean:es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir dist/es",
"build:umd": "npm run clean:umd && cross-env NODE_ENV=production npm run webpack:umd",
"clean": "npm run clean:commonjs && npm run clean:es && npm run clean:umd",
"clean:commonjs": "rimraf dist/commonjs",
"clean:es": "rimraf dist/es",
"clean:umd": "rimraf dist/umd",
"webpack": "webpack --progress --colors --bail --define",
"webpack:umd": "npm run webpack umd",
"build:example": "webpack --config webpack.dev.config.js --progress --colors",
"start": "webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Chyrain/react-error-boundaries.git"
},
"keywords": [
"react",
"HOC",
"error",
"boundary"
],
"author": "Chyrain. <chyrain_v5kf@qq.com> (https://chyrain.github.io/)",
"bugs": {
"url": "https://github.com/Chyrain/react-error-boundaries/issues"
},
"homepage": "https://github.com/Chyrain/react-error-boundaries#readme",
"license": "MIT",
"peerDevDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"cross-env": "^5.1.3",
"html-webpack-plugin": "^2.30.1",
"open-browser-webpack-plugin": "0.0.5",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.9.7",
"react": "^16.2.0",
"react-dom": "^16.2.0"
}
}