Skip to content
Snippets Groups Projects
package.json 6.97 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",
Giuseppe Digilio's avatar
Giuseppe Digilio committed
    "clean:css": "rimraf src/**/*.css",
    "clean:css:ts": "rimraf src/**/*.css.ts",
    "clean:scss:ts": "rimraf src/**/*.scss.ts",
    "clean:css:shim:ts": "rimraf src/**/*.css.shim.ts",
    "clean:scss:shim:ts": "rimraf src/**/*.scss.shim.ts",
Giuseppe Digilio's avatar
Giuseppe Digilio committed
    "clean:coverage": "rimraf coverage",
    "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",
Giuseppe Digilio's avatar
Giuseppe Digilio committed
    "clean": "npm run clean:log && npm run clean:prod && npm run clean:coverage && 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",
    "rollup": "rollup -c rollup-server.js && rollup -c rollup-client.js",
    "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",
    "build:prod:rollup": "npm run build:prod && npm run rollup",
    "build:prod:ngc": "npm run clean:prod && npm run sass && npm run ngc && npm run build:prod:rollup",
    "build:prod:ngc:json": "npm run clean:prod && npm run sass && npm run ngc && npm run build:prod:json:rollup",
Art Lowel's avatar
Art Lowel committed
    "build:prod:json": "webpack --config webpack.prod.config.ts --json | webpack-bundle-size-analyzer",
    "build:prod:json:rollup": "npm run build:prod:json && npm run rollup",
Art Lowel's avatar
Art Lowel committed
    "ngc": "ngc -p tsconfig.aot.json",
    "prestart": "npm run build:prod:ngc:json",
    "server": "node dist/server/build.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",
    "docs": "typedoc --options typedoc.json ./src",
    "lint": "tslint \"src/**/*.ts\" || true",
Giuseppe Digilio's avatar
Giuseppe Digilio committed
    "global": "npm install -g angular-cli nodemon npm-check-updates rimraf ts-node typedoc typescript webpack webpack-bundle-size-analyzer rollup marked node-gyp protractor",
    "postglobal": "npm link protractor",
    "protractor": "protractor",
    "e2e": "npm run protractor",
Giuseppe Digilio's avatar
Giuseppe Digilio committed
    "test": "karma start",
Giuseppe Digilio's avatar
Giuseppe Digilio committed
    "coverage": "http-server -c-1 -o -p 9875 ./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
  }
}