Last active
August 24, 2016 12:59
-
-
Save JulianeAlbuquerque/d79f4200a23915010222bac5a45586b1 to your computer and use it in GitHub Desktop.
Basic react setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DS_Store | |
public/ | |
node_modules | |
node_modules/ | |
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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