diff --git a/package.json b/package.json index a8d70da9d7..2db5cd691d 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,12 @@ "start:mirador:prod": "npm run build:mirador && npm run start:prod", "preserve": "npm run base-href", "serve": "ts-node --project ./tsconfig.ts-node.json scripts/serve.ts", + "serve:ssr": "node dist/server/main", "analyze": "webpack-bundle-analyzer dist/browser/stats.json", "build": "ng build --configuration development", "build:stats": "ng build --stats-json", "build:prod": "cross-env NODE_ENV=production npm run build:ssr", + "build:ssr": "ng build --configuration production && ng run dspace-angular:server:production", "build:lint": "rimraf 'lint/dist/**/*.js' 'lint/dist/**/*.js.map' && tsc -b lint/tsconfig.json", "test": "ng test --source-map=true --watch=false --configuration test", "test:watch": "nodemon --exec \"ng test --source-map=true --watch=true --configuration test\"",