view package.json @ 255:caaf7994d26b

Reorder build targets Previous build:skiptests patch caused "clean" script to be run after "lint" script, with the net end result being that checkstyle coverage would never be available. Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-October/025466.html
author Andrew Azores <aazores@redhat.com>
date Wed, 18 Oct 2017 17:12:47 -0400
parents fd979ea2dc11
children 828e021d52fd
line wrap: on
line source

{
  "name": "thermostat-ng-web-client",
  "version": "0.0.1",
  "private": false,
  "description": "",
  "repository": {
    "type": "hg",
    "url": "https://icedtea.classpath.org/thermostat-ng/web-client"
  },
  "author": "",
  "license": "",
  "devDependencies": {
    "@angular/core": "^4.4.2",
    "@angular/platform-browser": "^4.4.2",
    "@angular/upgrade": "^4.4.2",
    "@types/angular": "^1.6.32",
    "@types/big.js": "^3.2.0",
    "@types/core-js": "^0.9.43",
    "@types/jquery": "^3.2.13",
    "@types/mocha": "^2.2.43",
    "@types/should": "^11.2.0",
    "@types/sinon": "^2.3.5",
    "@uirouter/angularjs": "^1.0.0",
    "angular-mocks": "1.5.*",
    "angular-patternfly": "^4.4.1",
    "angular-translate": "^2.15.2",
    "angular-translate-interpolation-messageformat": "^2.15.2",
    "angularjs-datatables": "^0.5.9",
    "babel-core": "^6.24.0",
    "babel-loader": "^7.0.0",
    "babel-plugin-angularjs-annotate": "^0.7.0",
    "babel-polyfill": "^6.23.0",
    "babel-preset-es2015": "^6.24.0",
    "big.js": "^3.1.3",
    "compression-webpack-plugin": "^1.0.0",
    "css-loader": "^0.28.0",
    "es6-promise": "^4.1.0",
    "eslint": "^3.19.0",
    "eslint-plugin-mocha": "^4.9.0",
    "extract-text-webpack-plugin": "^2.1.0",
    "file-loader": "^0.11.1",
    "font-awesome": "^4.7.0",
    "glob": "^7.1.2",
    "html-loader": "^0.4.5",
    "html-webpack-plugin": "^2.28.0",
    "htmlhint": "^0.9.13",
    "inject-loader": "^3.0.0",
    "istanbul-instrumenter-loader": "^2.0.0",
    "karma": "^1.5.0",
    "karma-babel-preprocessor": "^6.0.1",
    "karma-beep-reporter": "^0.1.4",
    "karma-coverage-istanbul-reporter": "^1.2.0",
    "karma-firefox-launcher": "^1.0.1",
    "karma-junit-reporter": "^1.2.0",
    "karma-mocha": "^1.3.0",
    "karma-mocha-reporter": "^2.2.3",
    "karma-phantomjs-launcher": "^1.0.4",
    "karma-should": "^1.0.0",
    "karma-should-sinon": "^1.0.0",
    "karma-sinon": "^1.0.5",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-typescript": "^3.0.7",
    "karma-webpack": "^2.0.3",
    "keycloak-js": "^3.2.0",
    "mkdirp": "^0.5.1",
    "mocha": "^3.2.0",
    "mocha-junit-reporter": "^1.13.0",
    "mocha-multi": "^0.11.0",
    "ngx-bootstrap": "^1.9.3",
    "node-sass": "^4.5.2",
    "null-loader": "^0.1.1",
    "nyc": "^10.2.0",
    "oclazyload": "^1.1.0",
    "patternfly": "^3.27.4",
    "patternfly-ng": "^0.10.1",
    "phantomjs-prebuilt": "^2.1.14",
    "protractor": "^5.1.2",
    "raw-loader": "^0.5.1",
    "reflect-metadata": "^0.1.10",
    "rimraf": "^2.6.1",
    "sass-loader": "^6.0.5",
    "should": "^11.2.1",
    "sinon": "^2.1.0",
    "style-loader": "^0.16.1",
    "ts-loader": "^2.3.7",
    "tslint": "^5.7.0",
    "typescript": "^2.5.2",
    "url": "^0.11.0",
    "url-join": "^2.0.1",
    "webpack": "^2.6.1",
    "webpack-dev-server": "^2.4.2",
    "yaml-loader": "^0.5.0",
    "zone.js": "^0.8.17"
  },
  "scripts": {
    "clean": "rimraf checkstyle coverage dist test-reports",
    "license-check": "node license-check/perform-license-check.js",
    "license-update": "node license-check/perform-license-update.js",
    "prelint": "mkdirp checkstyle",
    "lint-js": "eslint --ext '!.spec.js' -c .eslintrc.yaml  src || npm run lint-js-checkstyle",
    "lint-js-checkstyle": "eslint -c .eslintrc.yaml -f checkstyle -o checkstyle/checkstyle-src.xml src",
    "lint-ts": "tslint --exclude 'src/app/**/*.spec.ts' --project ./tsconfig.json --type-check 'src/app/**/*.ts' || npm run lint-ts-checkstyle",
    "lint-ts-checkstyle": "tslint --force --exclude 'src/app/**/*.spec.ts' --project ./tsconfig.json --type-check 'src/app/**/*.ts' -o checkstyle/checkstyle-ts-src.xml -t checkstyle 'src/app/**/*.ts'",
    "lint-html": "htmlhint -c .htmlhintrc 'src/**/*.html' || npm run lint-html-checkstyle",
    "lint-html-checkstyle": "htmlhint -c .htmlhintrc -f checkstyle 'src/**/*.html' > checkstyle/checkstyle-html.xml",
    "lint-tests": "eslint -c .eslintrc.test.yaml src --ext .spec.js || npm run lint-test-checkstyle",
    "lint-tests-checkstyle": "eslint -c .eslintrc.test.yaml --ext .spec.js -f checkstyle -o checkstyle/checkstyle-test.xml src",
    "lint-itests": "eslint -c .eslintrc.test.yaml integration-test --ext .spec.js || npm run lint-itest-checkstyle",
    "lint-itests-checkstyle": "eslint -c .eslintrc.test.yaml --ext .spec.js -f checkstyle -o checkstyle/checkstyle-itest.xml src",
    "lint": "npm run lint-ts && npm run lint-js && npm run lint-html",
    "prebuild": "npm run clean && npm run license-check && npm run lint",
    "build": "npm run build:compile",
    "build:compile": "webpack --bail --progress --profile",
    "prebuild:skiptests": "npm run clean",
    "build:skiptests": "npm run build:compile",
    "postbuild": "npm test",
    "stop-mockapi": "forever stop --silent mock-api/mockapi.server.js || true",
    "prestart-mockapi": "npm run stop-mockapi",
    "start-mockapi": "forever start --watch --watchDirectory mock-api mock-api/mockapi.server.js",
    "predevserver": "npm run prebuild && npm run stop-daemon && npm run start-mockapi",
    "devserver": "webpack-dev-server --progress",
    "pretest": "npm run lint-tests",
    "test": "karma start",
    "pretest-watch": "npm run pretest",
    "test-watch": "karma start --auto-watch --no-single-run",
    "prestart-integration-test-server": "npm run stop-integration-test-server && webdriver-manager update",
    "start-integration-test-server": "forever start -t \"$(npm bin)\"/webdriver-manager start",
    "poststart-integration-test-server": "node integration-test/wait-for-selenium.js",
    "stop-integration-test-server": "forever stop -t --silent \"$(npm bin)\"/webdriver-manager || true",
    "poststop-integration-test-server": "webdriver-manager shutdown",
    "preintegration-test": "npm run lint-itests && npm run start-integration-test-server",
    "integration-test": "protractor integration-test/integration-test.config.js",
    "postintegration-test": "npm run stop-integration-test-server",
    "start": "npm run start-mockapi && npm run start-daemon",
    "start-image": "node server.js",
    "stop": "npm run stop-mockapi && npm run stop-daemon",
    "prestart-daemon": "npm run stop-daemon",
    "start-daemon": "forever start --watch server.js",
    "stop-daemon": "forever stop --silent server.js || true",
    "verify": "npm run build && npm start && npm run integration-test && npm run stop"
  },
  "dependencies": {
    "compression": "^1.6.2",
    "cors": "^2.8.3",
    "express": "^4.15.2",
    "express-basic-auth": "^1.1.2",
    "express-ws": "^3.0.0",
    "forever": "^0.15.3",
    "lodash": "^4.17.4"
  }
}