Skip to content
Snippets Groups Projects
package.json 6.33 KiB
Newer Older
Art Lowel's avatar
Art Lowel committed
{
  "name": "dspace-angular",
  "version": "0.0.0",
  "description": "Angular 2 Universal UI for DSpace",
  "repository": {
    "type": "git",
    "url": "https://github.com/dspace/dspace-angular.git"
  },
  "scripts": {
    "clean:log": "rimraf *.log*",
    "clean:dist": "rimraf dist/*",
    "clean:node": "rimraf node_modules/*",
    "clean:ngc": "rimraf **/*.ngfactory.ts",
    "clean:json": "rimraf *.records.json",
    "clean:css": "rimraf **/*.css",
    "clean:css:ts": "rimraf **/*.css.ts",
    "clean:scss:ts": "rimraf **/*.scss.ts",
    "clean:css:shim:ts": "rimraf **/*.css.shim.ts",
    "clean:scss:shim:ts": "rimraf **/*.scss.shim.ts",
    "clean:prod": "npm run clean:ngc && npm run clean:json && npm run clean:css && npm run clean:css:ts && npm run clean:scss:ts && npm run clean:css:shim:ts && npm run clean:scss:shim:ts && npm run clean:dist",
    "clean": "npm run clean:log && npm run clean:dist && npm run clean:prod && npm run clean:node",
    "sass": "node-sass src -o src --include-path node_modules --output-style compressed -q",
    "sass:watch": "node-sass -w src -o src --include-path node_modules --output-style compressed -q",
    "prebuild": "npm run clean:dist && npm run sass",
William Welling's avatar
William Welling committed
    "build": "webpack --progress",
    "build:prod": "webpack --config webpack.prod.config.ts",
William Welling's avatar
William Welling committed
    "build:prod:ngc": "npm run clean:prod && npm run sass && npm run ngc && npm run clean:dist && npm run build:prod",
    "build:prod:ngc:json": "npm run clean:prod && npm run sass && npm run ngc && npm run clean:dist && npm run build:prod:json",
Art Lowel's avatar
Art Lowel committed
    "build:prod:json": "webpack --config webpack.prod.config.ts --json | webpack-bundle-size-analyzer",
    "ngc": "ngc -p tsconfig.aot.json",
    "prestart": "npm run build:prod:ngc:json",
    "server": "node dist/server/index.js",
    "server:dev": "nodemon --debug dist/server/index.js",
Art Lowel's avatar
Art Lowel committed
    "start": "npm run server",
    "start:dev": "npm run clean:prod && npm run build && npm run server",
    "watch": "webpack -w & npm run sass:watch",
    "watch:dev:server": "concurrently \"npm run server:dev\" \"npm run watch\"",
    "watch:dev": "npm run clean:prod && npm run build && npm run watch:dev:server",
    "watch:prod:server": "concurrently \"npm run server\" \"npm run watch\"",
    "watch:prod": "npm run build:prod:ngc:json && npm run watch:prod:server",
Art Lowel's avatar
Art Lowel committed
    "predebug": "npm run build",
    "debug": "node --debug-brk dist/server/index.js",
    "debug:server": "node-nightly --inspect --debug-brk dist/server/index.js",
    "debug:start": "npm run build && npm run debug:server",
Art Lowel's avatar
Art Lowel committed
    "debug:build": "node-nightly --inspect --debug-brk node_modules/webpack/bin/webpack.js",
    "debug:build:prod": "node-nightly --inspect --debug-brk node_modules/webpack/bin/webpack.js  --config webpack.prod.config.ts",
    "lint": "tslint \"src/**/*.ts\" || true",
    "global": "npm install -g angular-cli nodemon npm-check-updates rimraf ts-node typedoc typescript webpack webpack-bundle-size-analyzer marked node-gyp protractor",
    "postglobal": "npm link protractor",
    "protractor": "protractor",
    "e2e": "npm run protractor",
Giuseppe Digilio's avatar
Giuseppe Digilio committed
    "test": "karma start",
    "coverage": "http-server -c-1 -o -p 4211 ./coverage",
    "webdriver:start": "webdriver-manager start --seleniumPort 4444",
    "webdriver:update": "webdriver-manager update --standalone"
Art Lowel's avatar
Art Lowel committed
  },
  "dependencies": {
Art Lowel's avatar
Art Lowel committed
    "js.clone": "0.0.3",
Art Lowel's avatar
Art Lowel committed
Art Lowel's avatar
Art Lowel committed
  },
  "devDependencies": {
Art Lowel's avatar
Art Lowel committed
  }
}