yarn create nuxt-app <project-name>
yarn add nuxt @nuxt/http @nuxt/content @nuxt/pwa @nuxt/axios @nuxtjs/sitemap
yarn add vue-google-charts
yarn add -D commitizen husky semantic-release @commitlint/{config-conventional,cli}
Post install configurations
commitizen init cz-conventional-changelog --yarn --dev --exact
npx semantic-release-cli setup
# https://nuxtjs.org/faq/ga
Final Product package.json
{
"name" : " fan-gallery" ,
"version" : " 0.0.0-development" ,
"description" : " My beautiful Fan project" ,
"author" : " avimehenwal" ,
"private" : true ,
"scripts" : {
...
"analyze" : " nuxt build --analyze"
"commit" : " git-cz" ,
"sr" : " semantic-release"
},
"husky" : {
"hooks" : {
"prepare-commit-msg" : " exec < /dev/tty && git cz --hook || true" ,
"commit-msg" : " commitlint -E HUSKY_GIT_PARAMS" ,
"pre-commit" : " npm lint" ,
"pre-push" : " npm generate"
}
},
"release" : {
"branches" : [" master" , " next" ]
}
"config" : {
"commitizen" : {
"path" : " ./node_modules/cz-conventional-changelog"
}
},
"repository" : {
"type" : " git" ,
"url" : " https://github.com/avimehenwal/fan-gallery.git"
},
"bugs" : {
"url" : " https://github.com/avimehenwal/fan-gallery/issues"
},
"dependencies" : {
...
},
"devDependencies" : {
...
}
}