Skip to content

Instantly share code, notes, and snippets.

@Falieson
Created June 8, 2018 22:36
Show Gist options
  • Save Falieson/c83a2aed0d4786b1751c8441ea04a77e to your computer and use it in GitHub Desktop.
Save Falieson/c83a2aed0d4786b1751c8441ea04a77e to your computer and use it in GitHub Desktop.
S2. F02. package-scripts init (ARTICLE: JS/TS-Module Utilities (Part 2/4))
module.exports = {
scripts: {
build: 'rimraf dist/ && tsc',
commit: {
default: 'git-cz',
retry: 'git-cz --retry',
noverify: 'git-cz --no-verify'
},
default: {
build: 'node dist/index.js',
default: 'ts-node src/index.ts'
},
test: 'echo "Error: no test specified" && exit 1'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment