mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2025-11-08 22:11:35 +00:00
build(nuxt): add settings to deploy to github pages
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
"build": "nuxt build",
|
||||
"build": "NODE_ENV=production nuxt build",
|
||||
"start": "nuxt start",
|
||||
"generate": "NODE_ENV=production nuxt generate",
|
||||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
|
||||
"precommit": "npm run lint",
|
||||
"deploy": "git subtree push --prefix dist origin gh-pages"
|
||||
"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxtjs/google-analytics": "^2.0.2",
|
||||
@@ -30,6 +30,7 @@
|
||||
"nuxt-sass-resources-loader": "^2.0.5",
|
||||
"pug": "^2.0.3",
|
||||
"pug-plain-loader": "^1.0.0",
|
||||
"push-dir": "^0.4.1",
|
||||
"sass-loader": "^7.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user