Last active
August 4, 2017 18:17
-
-
Save expalmer/271d1a1f77035d5c47dd1902d6fd791c to your computer and use it in GitHub Desktop.
Budo + React + ES6 + Babel
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>App</title> | |
</head> | |
<body> | |
<div id="app"></div> | |
<script src="index.js"></script> | |
</body> | |
</html> |
This file contains hidden or 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": "app", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"scripts": { | |
"start": "budo src/index.js --live --pushstate -- -t [ babelify --presets [ react es2015 ] ]" | |
}, | |
"devDependencies": { | |
"babel-preset-es2015": "^6.24.1", | |
"babel-preset-react": "^6.24.1", | |
"babelify": "^7.3.0", | |
"budo": "^10.0.4" | |
}, | |
"dependencies": { | |
"react": "^15.6.1", | |
"react-dom": "^15.6.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment