Base skeleton setup for Node project.
basejit has necessary pre-configured setup with intention to be the base project to quickly set up and run for development. It mainly uses
- babel - to convert ES6 code to ES5
- karma + jasmine - for test suite
- gulp - for project management and command lines usage called by NPM's run script.
package.json which is description file for Node project. But basejit itself wasn't published on NPM registry.
This is to allow users to modify the description, scripts, and necessary fields in
package.json to match their needs to publish the final integrated project with basejit.
Existing source files
are for demonstration purpose and have skeleton code to set the whole project up included with test via jasmine.
Use basejit-cli to create a startup project based on basejit for you.
There's centralized commands that can be used on NPM as follows
npm start- to build dev version of distribution file (non-minified & non-uglified, ES2015 compatible), start local http server, and watch for file changes on
./src. Go to
http://localhost:5050to see the result on browser.
npm run build- to build all distribution file into
npm test- to run unit test
npm run docs- to generate documents via JSdoc at
npm run http-and-watch- to run local http server and watch for file changes
npm run clean- to clean all output files in