1.8.0 • Published 7 years ago
js-new v1.8.0
js-new
ES6 Library starter kit
Features
- Commitizen for better commit messages.
- ESLint with the AirBnB and Functional Programming rulesets. Exceptions added to make the React experince better.
- Prettier to format files
- Automatically format and lint changed files using lint-staged and Husky
- Continual integration using semantic-release and CircleCI for automatic build and deployments.
- Rollup bundles and code-shaking.
- JSDoc and Documentation.js for code documentation.
- Testing with Jest and Snyk.
Yarn scripts
yarn build: generates bundles in ./dist.yarn docs: generates documentation in markdown from comments in source files.yarn git:add: git add.yarn git:co: git commit.yarn git:push: pushes master to origin. Triggers build.yarn git:log: shows the commit log formatted on a single line.yarn lint: runs all linters on the files in the docs, src, test directories.yarn lint:fix: runs all linters with the --fix switch on the files in the docs, src, test directories.yarn lint:js: runs all linters on the .js and .jsx files in the docs, src, test directories.yarn lint:js-fix: runs all linters with the --fix switch on the .js and .jsx files in the docs, src, test directories.yarn prettier: runs prettier on the files in the docs, src, test directories.yarn prettier:fix: runs prettier with the --write switch on the files in the docs, src, test directories.yarn test: runs the tests and generates a coverage reportyarn test:watch: runs the tests with the --watch switch