1.2.0 • Published 7 years ago
aus-immigration v1.2.0
What it is
I built this project to both test the process of building and deploying an NPM package but also to make it easier for people to calculate their total immigration points set out by the Department of Immigration and Border Protection, both now and in the future (as some variables change based on time).
The official points list set by the Australian Government: https://www.border.gov.au/Trav/Visa-1/189-?modal=/visas/supporting/Pages/skilled/the-points-table.aspx and http://www.visabureau.com/australia/immigration-points-test.aspx
Features
- Build with Babel. (ES6 -> ES5)
- Test with mocha.
- Cover with istanbul.
- Check with eslint.
- Deploy with Travis.
Commands
npm run clean
- Removelib/
directorynpm test
- Run tests. Tests can be written with ES6 (WOW!)npm test:watch
- You can even re-run tests on file changes!npm run cover
- Yes. You can even cover ES6 code.npm run lint
- We recommend using airbnb-config. It's fantastic.npm run test:examples
- We recommend writing examples on pure JS for better understanding module usage.npm run build
- Do some magic with ES6 to create ES5 code.npm run prepublish
- Hook for npm. Do all the checks before publishing you module.
Installation
Just clone this repo and remove .git
folder.