- HTML
- CSS
- JavaScript
- NodeJS v16.13.1
- npm v8.1.2
This is my week 5 individual project for Epicodus. I use modern development environments -- managing dependencies with node packaging manager, and webpack to lint, bundle, and process code. Focused in this project is the use of classes introduced in JavaScript ES6 as well as using Jest to practice Test Driven Development (TDD) with 100% coverage. I use methods to update properties of instances of classes. Also focused on is separation of concerns: e.g. utility functions grouped together; classes and their methods grouped together in their own files.
- Clone the repository from the GitHub: https://github.com/joncheng-dev/galactic-age-calc.git
- Navigate to the project's root directory.
- In your terminal, run
$ npm install
from the root directory to install all packages. - Build the project using webpack using
$ npm run build
- Lint JavaScript files with
$ npm run lint
- Run tests using Jest with
$ npm run test
- There is no user interface.
- [email protected]
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2023 Jonathan Cheng