Skip to content

Instantly share code, notes, and snippets.

@tail-call
Created August 7, 2018 00:10
Show Gist options
  • Save tail-call/6d84085c8d1ee9ab2f05513fc855c422 to your computer and use it in GitHub Desktop.
Save tail-call/6d84085c8d1ee9ab2f05513fc855c422 to your computer and use it in GitHub Desktop.
React/babel/browserify minimal project
{
"name": "tail-call-ru",
"version": "0.0.1",
"description": "My personal site",
"main": " ",
"dependencies": {},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babelify": "^8.0.0",
"browserify": "^16.2.2",
"react": "^16.4.2",
"react-dom": "^16.4.2"
},
"scripts": {
"build": "browserify -t [ babelify --presets [ react es2015 ] ] src/index.js -o build/bundle.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Random J. Hacker",
"license": "GPL-3.0-or-later"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment