Skip to content

Instantly share code, notes, and snippets.

@dburles
Created November 26, 2018 02:03
Show Gist options
  • Save dburles/0a53fb5570cd64022438b3b1a2147cc4 to your computer and use it in GitHub Desktop.
Save dburles/0a53fb5570cd64022438b3b1a2147cc4 to your computer and use it in GitHub Desktop.
{
"name": "",
"version": "1.0.0",
"engines": {
"node": "10",
"npm": "6"
},
"browserslist": [
"< 0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"scripts": {
"start": "NODE_ENV=development parcel src/index.html",
"build": "parcel build src/index.html",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.4",
"eslint": "^5.2.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-import-order-alphabetical": "0.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-react-hooks": "0.0.0",
"parcel-bundler": "^1.10.3",
"parcel-plugin-bundle-visualiser": "^1.2.0",
"prettier": "^1.14.2"
},
"dependencies": {
"@reach/router": "^1.2.1",
"react": "^16.7.0-alpha.2",
"react-dom": "^16.7.0-alpha.2",
"styled-components": "^3.4.10"
},
"eslintConfig": {
"env": {
"browser": true
},
"parser": "babel-eslint",
"plugins": [
"prettier",
"react",
"react-hooks",
"import",
"eslint-plugin-import-order-alphabetical"
],
"extends": [
"plugin:prettier/recommended",
"eslint:recommended",
"plugin:react/recommended",
"prettier/react",
"plugin:import/errors",
"plugin:import/warnings"
],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true
}
],
"react-hooks/rules-of-hooks": "error",
"import-order-alphabetical/order": "error"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment