-
-
Save williamchong/37ed6d7ff1d519830dee98df2e05b0b7 to your computer and use it in GitHub Desktop.
nuxt + express dev server package.json setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"dev": "cd server && tsc-watch --onSuccess \"node ./lib/index.js\"", | |
"build": "yarn build:server && yarn build:client", | |
"build:client": "nuxt-ts build", | |
"build:server": "cd server && tsc", | |
"start": "nuxt-ts start", | |
"generate": "nuxt-ts generate", | |
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .", | |
"lint:server": "eslint --ext .ts --ignore-path .gitignore server", | |
"lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore", | |
"lint": "yarn lint:js && yarn lint:style && yarn lint:server", | |
"test": "jest" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment