UNPKG

@evolvus/evolvus-charges-billing

Version:

`evolvus-charges-billing` is a component that encapsulates ChargesBilling management functionality across all Evolvus products.

47 lines (42 loc) 1.06 kB
/* ** Normally we would use dist folder for distribution code ** but since we are coming from the java world - "target" folder ** is more relevant to us. (default output folder of a maven job) ** ** grunt clean => mvn clean ** */ module.exports = (grunt) => { grunt.initConfig({ env: { test: { DEBUG: "evolvus-charges-billing*" } }, mochaTest: { test: { options: { reporter: "spec", }, src: ["test/index.js", "test/db/*.js"] } }, jshint: { options: { "esversion": 6 }, files: { src: ["Gruntfile.js", "index.js", "db/*.js", "test/index.js", "test/**/*.js", "model/*.js"] } }, watch: { files: ["<%= jshint.files.src %>"], tasks: ["jshint", "mochaTest"] } }); grunt.loadNpmTasks("grunt-env"); grunt.loadNpmTasks("grunt-mocha-test"); grunt.loadNpmTasks("grunt-contrib-jshint"); grunt.loadNpmTasks("grunt-contrib-watch"); grunt.registerTask("default", ["jshint", "env:test", "mochaTest"]); };