1.1.0 • Published 5 years ago
@dougskinner/standardnode v1.1.0
Standard Node
A basic node.js project template structure
NPM commands
command | description |
---|---|
npm run check | Runs eslint against all Javascript files in the src/ directory |
npm run test | Runs the jest tests contained within the tests/ directory and prints out a coverage graph |
Staying up to date
This repo is meant to be a starting point for future projects. As such, future projects may need to pull down changes made here. In future projects, you can follow this procedure to do so.
Add the remote, call it "upstream":
git remote add upstream https://github.com/whoever/whatever.git
Fetch all the branches of that remote into remote-tracking branches, such as upstream/master:
git fetch upstream
Make sure that you're on your master branch:
git checkout master
Rewrite your master branch so that any commits of yours that aren't already in upstream/master are replayed on top of that other branch:
git rebase upstream/master