Skip to content

Instantly share code, notes, and snippets.

@Grantimus9
Created January 5, 2018 16:41
Show Gist options
  • Save Grantimus9/843d26a4b486f468baa7790ad796bd38 to your computer and use it in GitHub Desktop.
Save Grantimus9/843d26a4b486f468baa7790ad796bd38 to your computer and use it in GitHub Desktop.
Package.json for a Phoenix 1.3, GraphQL, Apollo App.
{
"name": "your-project-name",
"description": "A Vue.js, GraphQL, and Elixir project",
"version": "1.0.0",
"author": "You <you@you.com>",
"license": "MIT",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
},
"dependencies": {
"vue": "^2.5.11",
"graphql": "^0.11.0",
"vue-apollo": "^3.0.0-alpha.2",
"apollo-client": "^2.0.0",
"apollo-cache-inmemory": "^1.1.4",
"apollo-link-http": "^1.3.2",
"graphql-tag": "^2.6.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-3": "^6.24.1",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"file-loader": "^1.1.4",
"node-sass": "^4.5.3",
"sass-loader": "^6.0.6",
"vue-loader": "^13.0.5",
"vue-template-compiler": "^2.4.4",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment