mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 17:12:59 +08:00
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"name": "react-error-overlay",
|
|
"version": "2.0.1",
|
|
"description": "An overlay for displaying stack frames.",
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build:prod && npm test",
|
|
"start": "rimraf lib/ && cross-env NODE_ENV=development npm run build -- --watch",
|
|
"test": "flow && jest",
|
|
"build": "rimraf lib/ && babel src/ -d lib/",
|
|
"build:prod": "rimraf lib/ && cross-env NODE_ENV=production babel src/ -d lib/"
|
|
},
|
|
"repository": "facebookincubator/create-react-app",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/facebookincubator/create-react-app/issues"
|
|
},
|
|
"keywords": [
|
|
"overlay",
|
|
"syntax",
|
|
"error",
|
|
"red",
|
|
"box",
|
|
"redbox",
|
|
"crash",
|
|
"warning"
|
|
],
|
|
"author": "Joe Haddad <timer150@gmail.com>",
|
|
"files": [
|
|
"lib/",
|
|
"middleware.js"
|
|
],
|
|
"dependencies": {
|
|
"anser": "1.4.1",
|
|
"babel-code-frame": "6.22.0",
|
|
"babel-runtime": "6.26.0",
|
|
"html-entities": "1.2.1",
|
|
"react": "^15 || ^16",
|
|
"react-dom": "^15 || ^16",
|
|
"settle-promise": "1.0.0",
|
|
"source-map": "0.5.6"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "6.24.1",
|
|
"babel-eslint": "7.2.3",
|
|
"babel-preset-react-app": "^3.0.2",
|
|
"cross-env": "5.0.5",
|
|
"eslint": "4.4.1",
|
|
"eslint-config-react-app": "^2.0.0",
|
|
"eslint-plugin-flowtype": "2.35.0",
|
|
"eslint-plugin-import": "2.7.0",
|
|
"eslint-plugin-jsx-a11y": "5.1.1",
|
|
"eslint-plugin-react": "7.1.0",
|
|
"flow-bin": "^0.54.0",
|
|
"jest": "20.0.4",
|
|
"jest-fetch-mock": "1.2.1",
|
|
"rimraf": "^2.6.1"
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"./src/__tests__/setupJest.js"
|
|
],
|
|
"collectCoverage": true,
|
|
"coverageReporters": [
|
|
"json"
|
|
],
|
|
"testMatch": [
|
|
"<rootDir>/src/**/__tests__/**/*.js?(x)",
|
|
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/fixtures/",
|
|
"setupJest.js"
|
|
]
|
|
}
|
|
}
|