try to streamline the install process

This commit is contained in:
Grzegorz Leoniec 2018-10-10 14:34:40 +02:00
parent a7ba29a49d
commit dc1b2a7c5b

View File

@ -5,6 +5,7 @@
"author": "Grzegorz Leoniec",
"private": true,
"scripts": {
"postinstall": "(cd ./styleguide && yarn install) && yarn styleguide:build",
"dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",
"build": "nuxt build",
"start": "cross-env NODE_ENV=production node server/index.js",
@ -12,7 +13,7 @@
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"styleguide": "(cd ./styleguide && yarn dev)",
"styleguide:build": "(cd ./styleguide && yarn build:lib) && yarn upgrade file:./styleguide",
"precommit": "npm run lint"
"precommit": "yar lint"
},
"dependencies": {
"@nuxtjs/apollo": "^4.0.0-rc3",