Package Exports
- @sifrr/dev
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sifrr/dev) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sifrr-dev · 
Development tools for sifrr packages, webapps
Size
| Type | Size |
|---|---|
Normal (dist/sifrr.dev.js) |
|
Minified (dist/sifrr.dev.min.js) |
|
Minified + Gzipped (dist/sifrr.dev.min.js) |
Tools
getRollupConfigRollup configs to bundle JavaScripts for node packages, es modules and browser packs.generateChangelogGenerate Changelog during releaseloadDirLoad directory recursivelyeslintrcESLint configdeepMergeDeep Merge ObjectscheckTagcheck if a tag exists on githubexecasync execute a shell command with stdout and stderrgitAddCommitPushrun command > git add files > git commit > git pushrunTestsRun a full fledged test suite using mocha, chai, sinon, puppeteer, etc.
Other packages
- @commitlint/cli - Linting commits
- Husky - Git hooks made easy
- browserslist - browserlist used by babel, eslint, postcss, etc.
- coveralls - upload coverage to coveralls.io
- mock-require - Simple, intuitive mocking of Node.js modules.
Usage
Husky and commitlint
add .huskyrc to your root folder
{
"hooks": {
"commit-msg": "yarn commitlint -e $HUSKY_GIT_PARAMS"
}
}add commitlint.config.js to your root folder
module.exports = {
extends: ['@commitlint/config-conventional']
};Upload coverage to Coveralls
set COVERALLS_REPO_TOKEN environment variable, run tests with lcov reporter, Upload with this command:
cat ./coverage/lcov.info | yarn coveralls