Skip to content

Instantly share code, notes, and snippets.

@ecpplus
Created October 4, 2016 14:46
Show Gist options
  • Save ecpplus/2d851f3e7fbc23b8b78267f90fa1effa to your computer and use it in GitHub Desktop.
Save ecpplus/2d851f3e7fbc23b8b78267f90fa1effa to your computer and use it in GitHub Desktop.
Phoenix Framework package.json example (use Bootstrap4, React)
{
"name": "Chat",
"version": "0.0.1",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"start": "webpack --watch-stdin --colors",
"compile": "webpack -p --colors"
},
"author": "",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^6.5.0",
"babel-core": "^6.17.0",
"babel-loader": "^6.2.5",
"babel-preset-es2015": "^6.16.0",
"babel-preset-react": "^6.16.0",
"bootstrap": "^4.0.0-alpha.4",
"caniuse-db": "^1.0.30000544",
"copy-webpack-plugin": "^3.0.1",
"css-loader": "^0.25.0",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
"node-libs-browser": "^1.0.0",
"postcss-flexbugs-fixes": "^2.0.0",
"react": "^15.3.2",
"react-autocomplete": "^1.3.1",
"react-dom": "^15.3.2",
"sass-loader": "^4.0.2",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^1.13.2"
},
"dependencies": {
"moment": "^2.15.1",
"node-sass": "^3.10.1",
"phoenix": "file:deps/phoenix",
"phoenix_html": "file:deps/phoenix_html"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment