Created
December 27, 2018 17:36
-
-
Save rlax/18126dd473b1ada2dfd87dc2a6804dd3 to your computer and use it in GitHub Desktop.
Package.json default react xo settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "rrssr", | |
"version": "1.0.0", | |
"main": "index.js", | |
"scripts": { | |
"start": "webpack -w & nodemon server.js", | |
"webw": "webpack -w", | |
"test": "xo" | |
}, | |
"author": "", | |
"license": "MIT", | |
"description": "", | |
"babel": { | |
"presets": [ | |
"@babel/preset-env", | |
"@babel/preset-react" | |
], | |
"plugins": [ | |
"@babel/plugin-proposal-object-rest-spread" | |
] | |
}, | |
"prettier": { | |
"trailingComma": "es5" | |
}, | |
"xo": { | |
"semicolon": true, | |
"prettier": true, | |
"globals": ["__isBrowser__", "document", "window"], | |
"extends": "xo-react", | |
"ignores": [ | |
"/public/*", | |
"**/server.js" | |
], | |
"overrides": [ | |
{ | |
"files": "**/+(shared|components)/*.+(js|jsx)", | |
"rules": { | |
"unicorn/filename-case": [ | |
"warn", {"case": "pascalCase"} | |
] | |
} | |
} | |
] | |
}, | |
"devDependencies": { | |
"@babel/core": "^7.0.0", | |
"@babel/plugin-proposal-object-rest-spread": "^7.0.0", | |
"@babel/preset-env": "^7.0.0", | |
"@babel/preset-react": "^7.0.0", | |
"babel-loader": "^8.0.0", | |
"eslint-config-xo-react": "^0.17.0", | |
"eslint-plugin-react": "^7.11.1", | |
"nodemon": "^1.18.6", | |
"webpack": "^4.25.1", | |
"webpack-cli": "^3.1.2", | |
"webpack-node-externals": "^1.6.0", | |
"xo": "^0.23.0" | |
}, | |
"dependencies": { | |
"@babel/polyfill": "^7.0.0", | |
"cors": "^2.8.4", | |
"express": "^4.16.2", | |
"isomorphic-fetch": "^2.2.1", | |
"react": "^16.2.0", | |
"react-dom": "^16.2.0", | |
"react-router-dom": "^4.2.2", | |
"serialize-javascript": "^1.4.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment