Skip to content

Commit

Permalink
Fixed bump dep
Browse files Browse the repository at this point in the history
  • Loading branch information
14nrv committed Jan 27, 2018
1 parent 87972ac commit f2c10c8
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 596 deletions.
3 changes: 2 additions & 1 deletion .babelrc
@@ -1,7 +1,8 @@
{
"presets": [
[ "env", {"modules": false}],
"stage-2"
"babel-preset-es2015",
"babel-preset-stage-2"
],
"env": {
"test": {
Expand Down
11 changes: 6 additions & 5 deletions nuxt.config.js
@@ -1,4 +1,8 @@
const dotenv = process.env.NODE_ENV !== 'production' && '@nuxtjs/dotenv'
const modules = [
'@nuxtjs/pwa'
]
const isNotProdEnv = process.env.NODE_ENV !== 'production'
isNotProdEnv && modules.push('@nuxtjs/dotenv')

module.exports = {
/*
Expand Down Expand Up @@ -36,10 +40,7 @@ module.exports = {
/*
** Modules
*/
modules: [
'@nuxtjs/pwa',
dotenv
],
modules,
plugins: [
'~plugins/buefy',
'~plugins/firebase'
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -14,8 +14,8 @@
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lint-staged": "lint-staged",
"test": "NODE_ENV=test jest",
"test:tdd": "NODE_ENV=test yarn run test --watchAll --coverage",
"test:coverage": "NODE_ENV=test yarn run test --coverage"
"test:tdd": "NODE_ENV=test yarn test --watchAll --coverage",
"test:coverage": "NODE_ENV=test yarn test --coverage"
},
"pre-commit": "lint-staged, test",
"lint-staged": {
Expand All @@ -30,24 +30,24 @@
"bulma-switch": "^0.1.2",
"firebase": "^4.8.2",
"font-awesome": "^4.7.0",
"nuxt": "^1.1.1",
"nuxt": "^1.2.1",
"pug": "^2.0.0-rc.4",
"stylus": "^0.54.5",
"vue-server-renderer": "2.5.13",
"vue-template-compiler": "2.5.13",
"vuexfire": "^2.3.0"
},
"devDependencies": {
"@babel/preset-env": "^7.0.0-beta.38",
"babel-eslint": "^8.2.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"css-loader": "^0.28.9",
"eslint": "^4.16.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-junit": "^1.0.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-html": "^4.0.1",
"eslint-plugin-html": "^4.0.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.7.0",
"eslint-plugin-node": "^5.2.1",
Expand All @@ -56,11 +56,11 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^22.1.4",
"jest-junit": "^3.4.1",
"lint-staged": "^6.0.1",
"lint-staged": "^6.1.0",
"mwangaben-vthelpers": "^1.1.3",
"pre-commit": "^1.2.2",
"stylus-loader": "^3.0.1",
"vue-jest": "^1.4.0",
"vue-jest": "^2.0.0",
"vue-test-utils": "^1.0.0-beta.11"
},
"jest-junit": {
Expand Down

0 comments on commit f2c10c8

Please sign in to comment.