Useful reusable components to use in the Maji framework.
npm i maji-extras --save
You'll never use all of maji-extras, but you pick exactly the parts that you need for your project.
- Run
npm install
to install all dependencies. - Run
npm run watch
to start a Karma server with PhantomJS that will continuously watch your JavaScript files and run tests on changes. - Run
npm test
to run the JavaScript tests and the linter once. - Run
npm run build
to convert all CoffeeScript file to JavaScript. - Run
npm run lint
to run the linter.
- helpers -- Strong single purpose helpers to perform common tasks
- components -- Stand alone components for additional features
- factories -- Common data preparation for usage in tests