groupme-js / node-groupme

The only GroupMe API library for NodeJS that isn't a million years old.
https://groupme.js.org
MIT License
27 stars 11 forks source link

Update package.json scripts #77

Closed thewilloftheshadow closed 2 years ago

thewilloftheshadow commented 2 years ago

New Scripts

Clean - removes the old output from tsc Compile - run clean and then run tsc Docs - generate the documentation into the docs folder Prepare - install the git hooks from husky Pre-Publish Only - run compile (this is run right before the package is published) Test - run the full test suite Watch - live compile using tsc as changes are made

A lot of this layout was taken from other typescript packages npm will automatically publish the dist folder for the package and prepublishOnly will ensure that its the newest build

not-so-smart commented 2 years ago

tysm for adding a clean command, I've been using a shitty powershell command for this in the vscode build task

speaking of which, I think this would be a good opportunity to carry out a much-needed overhaul in tasks.json -- make the build tasks in vscode platform-friendly (right now, there's only one build command and it only works on windows)