1.0.2-alpha • Published 2 years ago
@mastashake08/remote-video-recorder v1.0.2-alpha
remote-video-recorder
npm package template.
Installation
Clone repository with Git:
git clone https://github.com/mastashake08/remote-video-recorder.git
cd remote-video-recorderUsage
Rename package (use npm-package-name-checker to check for name availability):
# replace $NAME with your package name
git grep -l remote-video-recorder | xargs sed -i '' -e "s/remote-video-recorder/$NAME/g"Manually update the files:
- LICENSE
- README.md
- package.json
Reinitialize Git repository:
rm -rf .git
git initInstall package dependencies:
npm installMake first commit:
git commit -am "feat: initial commit"Testing
Run tests:
npm testRun tests in watch mode:
npm run test:watchRun tests with coverage:
npm run test:coverageView coverage in browser:
npm run test:coverage:report
open coverage/index.htmlLint files:
npm run lintFix lint errors:
npm run lint:fixRelease
Only collaborators with credentials can release and publish:
npm run release
git push --follow-tags && npm publishTo see what files are going to be published, run the command:
npm pack --dry-run
# tar tvf $(npm pack)