1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-16 10:05:23 +00:00

build(package): add script to deploy

This commit is contained in:
Julien 2018-09-10 01:45:44 +02:00
parent e07e0abf20
commit d5e2315b8a

View File

@ -10,7 +10,8 @@
"start": "nuxt start", "start": "nuxt start",
"generate": "NODE_ENV=production nuxt generate", "generate": "NODE_ENV=production nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .", "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"precommit": "npm run lint" "precommit": "npm run lint",
"deploy": "git subtree push --prefix dist origin gh-pages"
}, },
"dependencies": { "dependencies": {
"@nuxtjs/google-analytics": "^2.0.2", "@nuxtjs/google-analytics": "^2.0.2",