donal
2018-03-31 6a748c6a26acf616b67001fae0f09a3f82760c39
package.json
@@ -48,6 +48,7 @@
    "mocha-cobertura-reporter": "1.0.4",
    "mocha-junit-reporter": "1.17.0",
    "mocha-lcov-reporter": "1.3.0",
    "nyc": "^11.6.0",
    "open": "0.0.5",
    "q": "1.5.1",
    "request": "2.85.0",
@@ -63,8 +64,28 @@
  },
  "scripts": {
    "start": "node server/app.js",
    "test": "grunt test",
    "dev": "./node_modules/.bin/grunt serve"
    "dev": "./node_modules/.bin/grunt serve",
    "jshint": "./node_modules/.bin/grunt newer:jshint",
    "jshint:ci": "./node_modules/.bin/grunt jshint:ci_server",
    "clean": "./node_modules/.bin/grunt clean",
    "build": "./node_modules/.bin/grunt build",
    "test": "node_modules/.bin/nyc node_modules/.bin/mocha server/**/*.spec.js --exit",
    "test:ci": "export MOCHA_FILE='reports/server/mocha/test-results.xml' && node_modules/.bin/nyc node_modules/.bin/mocha server/**/*.spec.js -R mocha-junit-reporter --exit"
  },
  "private": true
  "private": true,
  "nyc": {
    "include": [
      "server/**/*.js"
    ],
    "exclude": [
      "server/**/*.spec.js"
    ],
    "ignore-class-method": "methodToIgnore",
    "reporter": [
      "html",
      "text",
      "cobertura"
    ],
    "report-dir": "./reports/coverage"
  }
}