mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-23 12:48:00 +08:00
Tweak init.js after merge
This commit is contained in:
5
packages/react-scripts/scripts/init.js
vendored
5
packages/react-scripts/scripts/init.js
vendored
@@ -97,12 +97,13 @@ module.exports = function(
|
||||
test: 'react-scripts test --env=jsdom',
|
||||
eject: 'react-scripts eject',
|
||||
};
|
||||
|
||||
|
||||
// Setup the eslint config
|
||||
appPackage.eslintConfig = {
|
||||
'extends': 'react-app'
|
||||
extends: 'react-app',
|
||||
};
|
||||
|
||||
// Setup the browsers list
|
||||
appPackage.browserslist = defaultBrowsers;
|
||||
|
||||
fs.writeFileSync(
|
||||
|
||||
Reference in New Issue
Block a user