bollireact
Advanced tools
Comparing version 1.1.2 to 1.2.0
module.exports = ({ name }) => ({ | ||
deps: ['prop-types', 'react', 'react-dom'], | ||
devDeps: [ | ||
'@babel/core', | ||
'@babel/preset-react', | ||
'@babel/preset-env', | ||
'@babel/preset-stage-0', | ||
'@babel/plugin-proposal-class-properties', | ||
'babel-eslint', | ||
'babel-preset-react', | ||
'babel-preset-env', | ||
'babel-preset-stage-0', | ||
'eslint', | ||
@@ -16,3 +18,4 @@ 'eslint-config-prettier', | ||
'parcel-bundler', | ||
'prettier' | ||
'prettier', | ||
'autoprefixer' | ||
], | ||
@@ -19,0 +22,0 @@ dirs: [`${name}`, `${name}/src`, `${name}/src/App`], |
module.exports = () => `{ | ||
"presets": [ | ||
[ | ||
"env" | ||
], | ||
"react", | ||
"stage-0" | ||
"@babel/env", "@babel/react" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties" | ||
] | ||
}`; |
@@ -20,3 +20,17 @@ module.exports = () => `{ | ||
} | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": "**/*.test.js", | ||
"globals": { | ||
"jest": true, | ||
"test": true, | ||
"expect": true, | ||
"afterEach": true, | ||
"afterAll": true, | ||
"beforeEach": true, | ||
"beforeAll": true | ||
} | ||
} | ||
] | ||
}`; |
@@ -5,2 +5,4 @@ module.exports = () => `node_modules | ||
.nyc_output | ||
.cache | ||
.DS_Store | ||
`; |
module.exports = ({ displayName }) => `<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<title>${displayName}</title> | ||
@@ -5,0 +7,0 @@ </head> |
@@ -18,2 +18,15 @@ module.exports = ({ name, description }) => `{ | ||
}, | ||
"postcss": { | ||
"modules": false, | ||
"plugins": { | ||
"autoprefixer": { | ||
"browsers": [ | ||
">1%", | ||
"last 4 versions", | ||
"Firefox ESR", | ||
"not ie < 9" | ||
] | ||
} | ||
} | ||
}, | ||
"lint-staged": { | ||
@@ -20,0 +33,0 @@ "*.js": [ |
{ | ||
"name": "bollireact", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "my personal react project boilerplate thingy", | ||
@@ -5,0 +5,0 @@ "author": "Harris Schneiderman", |
74009
22
314