Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env bash
mkdir -p ./app
echo '{
"name": "my-project",
"version": "0.0.0",
"scripts": {
"dev": "webpack-recipes devserver 9000",
"build": "webpack-recipes build --mode=production"
},
"devDependencies": {
"babel-plugin-transform-react-jsx": "^6.24.1",
"webpack-recipes": "0.1.0",
"webpack-recipes-devserver": "joaoneto/webpack-recipes-devserver#master",
"webpack-recipes-es6": "joaoneto/webpack-recipes-es6#master"
}
}' > package.json
echo '<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
</body>
</html>' > app/index.html
npm install --loglevel=silent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.