Skip to content

Instantly share code, notes, and snippets.

@JulianeAlbuquerque
Last active August 24, 2016 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulianeAlbuquerque/d79f4200a23915010222bac5a45586b1 to your computer and use it in GitHub Desktop.
Save JulianeAlbuquerque/d79f4200a23915010222bac5a45586b1 to your computer and use it in GitHub Desktop.
Basic react setup
.DS_Store
public/
node_modules
node_modules/
npm-debug.log
{
"name": "schach-matt-website",
"description": "Website schach-matt-website",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "git+https://github.com/JulianeAlbuquerque/schach-matt-website.git"
},
"bugs": "https://github.com/JulianeAlbuquerque/schach-matt-website/issues",
"author": "Juliane Albuquerque <juliane.albq@gmail.com>",
"homepage": "https://github.com/JulianeAlbuquerque/schach-matt-website#readme",
"main": "index.html",
"dependencies": {
"react": "^15.3.1",
"react-dom": "^15.3.1"
},
"devDependencies": {
"babel-core": "^6.13.2",
"babel-loader": "^6.2.5",
"babel-preset-react": "^6.11.1",
"webpack": "^1.13.2"
},
"scripts": {
"prestart": "npm install"
}
}
module.exports = {
entry: "./app/App.js",
output: {
filename: "public/bundle.js"
},
module: {
loaders: [{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel',
query: {
presets: ['react']
}
}]
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment