package.json 5.89 KB
Newer Older
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
1
{
2
  "name": "arsnova-click-v2-frontend",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
3 4
  "version": "1.0.0",
  "license": "MIT",
5 6 7 8
  "repository": {
    "type": "git",
    "url": "git@git.thm.de:arsnova/arsnova.click-v2.git"
  },
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
9 10
  "description": "Version 2 of arsnova.click (Frontend WebApp)",
  "scripts": {
11
    "dependency-check": "npx --ignore-existing madge --circular --extensions ts src",
12
    "ng": "ng",
13
    "clean": "rimraf dist",
14
    "ngsw-config": "node_modules/.bin/ngsw-config dist/browser src/ngsw-config.json",
15
    "start:SSR": "cd dist && node server",
16
    "start:DEV": "ng serve --host 192.168.2.101 --port 4210 --aot",
17
    "start:DEV:LOCAL": "ng serve --port 4210 --aot --disable-host-check --host=0.0.0.0",
18
    "start:WESTERMANN": "ng serve --port 4210 --aot --configuration=westermann",
19
    "build:SSR": "npm run build:PROD:DEPLOY && npm run build:SERVER && npm run webpack:SERVER",
20
    "build:SERVER": "ng run frontend:server",
21
    "prebuild:PROD": "npm run clean",
22
    "build:PROD": "ng build --prod",
23
    "build:STAGING_THM": "ng build --configuration=thmStaging",
24
    "build:BETA_THM": "ng build --configuration=thmBeta",
25
    "build:WESTERMANN": "ng build --configuration=westermann",
26
    "build:PROD:DEPLOY": "npm run build:PROD && npm run purify",
27
    "build:PROD-STATS": "ng build --prod --stats-json",
28 29
    "bundle-report": "webpack-bundle-analyzer dist/browser/stats.json",
    "webpack:SERVER": "webpack --config webpack.server.config.js --progress --colors",
30 31 32 33
    "test": "ng test --browsers=ChromeHeadless --watch=false --source-map=false",
    "test:DEV": "ng test --browsers=Chrome --karma-config=src/karma.conf.dev.js --source-map=false",
    "test:DEV:HEADLESS": "ng test --browsers=ChromeHeadless --karma-config=src/karma.conf.dev.js --source-map=false",
    "lint": "ng lint",
34
    "e2e": "ng e2e --port 4201",
35
    "purify": "node purifycss.js",
36
    "postpurify": "npm run ngsw-config",
37
    "compress": "gzip dist/browser/** -r --best --keep",
38
    "http-startup": "angular-http-server dist/browser/ -p 4711",
39
    "prod-test": "npm run build:PROD:DEPLOY && npm run http-startup",
40 41
    "prod-test:SSR": "npm run build:SSR && npm run job && npm run start:SSR",
    "job": "npm run job:images; npm run job:link; npm run job:manifest",
42
    "job:images:logo": "cd dist/browser/assets/jobs/; node --experimental-modules GenerateImages.mjs --command=generateLogoImages",
43
    "job:images:frontend": "cd dist/browser/assets/jobs/; node --experimental-modules GenerateImages.mjs --command=generateFrontendPreview --host=http://localhost:4210",
44 45 46
    "job:images": "cd dist/browser/assets/jobs/; node --experimental-modules GenerateImages.mjs --command=all --host=http://localhost:4000",
    "job:link": "cd dist/browser/assets/jobs/; node GenerateMetaNodes.js --command=generateLinkImages --baseUrl=http://localhost:4000",
    "job:manifest": "cd dist/browser/assets/jobs/; node GenerateMetaNodes.js --command=generateManifest --baseUrl=http://localhost:4000"
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
47 48 49
  },
  "private": true,
  "dependencies": {
50 51 52 53 54 55 56 57
    "@angular/animations": "^8.0.2",
    "@angular/common": "^8.0.2",
    "@angular/compiler": "^8.0.2",
    "@angular/core": "^8.0.2",
    "@angular/forms": "^8.0.2",
    "@angular/platform-browser": "^8.0.2",
    "@angular/platform-browser-dynamic": "^8.0.2",
    "@angular/platform-server": "^8.0.2",
58
    "@angular/pwa": "^0.13.8",
59 60
    "@angular/router": "^8.0.2",
    "@angular/service-worker": "^8.0.2",
61
    "@auth0/angular-jwt": "2.1.0",
62 63 64 65
    "@fortawesome/angular-fontawesome": "^0.4.0",
    "@fortawesome/fontawesome-svg-core": "^1.2.19",
    "@fortawesome/free-solid-svg-icons": "^5.9.0",
    "@ng-bootstrap/ng-bootstrap": "^4.2.1",
66
    "@ng-bootstrap/schematics": "^2.0.0-alpha.1",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
67 68
    "@nguniversal/express-engine": "^7.1.1",
    "@nguniversal/module-map-ngfactory-loader": "^7.1.1",
69 70
    "@ngx-translate/core": "^11.0.1",
    "@ngx-translate/http-loader": "~4.0.0",
71
    "@stomp/ng2-stompjs": "^7.2.0",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
72
    "@techiediaries/ngx-qrcode": "0.0.5",
73 74 75
    "@webcomponents/custom-elements": "^1.2.4",
    "angular-svg-icon": "^7.2.1",
    "angulartics2": "^7.5.2",
76
    "angularx-qrcode": "^1.6.4",
77
    "bootstrap": "^4.3.1",
78
    "classlist.js": "^1.1.20150312",
79
    "cors": "^2.8.5",
80
    "highlight.js": "^9.15.8",
81
    "intro.js": "^2.9.3",
82
    "marked": "git+https://github.com/trayhem/marked.git",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
83
    "messageformat": "^2.1.0",
84
    "ng2-simple-mq": "^8.2.1",
85 86 87
    "ngx-infinite-scroll": "^7.2.0",
    "ngx-toastr": "^10.0.4",
    "ngx-translate-messageformat-compiler": "^4.5.0",
88
    "rimraf": "^3.0.0",
89
    "rxjs": "^6.5.2",
90 91
    "ts-loader": "^6.0.4",
    "zone.js": "~0.9.1"
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
92 93
  },
  "devDependencies": {
94 95 96 97
    "@angular-devkit/build-angular": "~0.800.0",
    "@angular/cli": "^8.0.4",
    "@angular/compiler-cli": "^8.0.2",
    "@angular/language-service": "^8.0.2",
98
    "@types/intro.js": "^2.4.4",
99 100
    "@types/jasmine": "~3.3.0",
    "@types/jasminewd2": "~2.0.6",
101
    "@types/modernizr": "^3.5.3",
102
    "@types/node": "^10.12.18",
103
    "@types/webpack": "^4.4.27",
104
    "chrome-launcher": "^0.10.5",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
105
    "chrome-remote-interface": "^0.27.1",
106
    "codelyzer": "^5.0.1",
107
    "angular-http-server": "^1.9.0",
108
    "imagemin": "^6.1.0",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
109
    "imagemin-pngquant": "^6.0.1",
110
    "jasmine-core": "~3.3.0",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
111
    "jasmine-spec-reporter": "~4.2.1",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
112
    "karma": "^3.1.4",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
113
    "karma-chrome-launcher": "~2.2.0",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
114
    "karma-coverage-istanbul-reporter": "^2.0.5",
115 116
    "karma-jasmine": "~2.0.1",
    "karma-jasmine-html-reporter": "^1.4.0",
117 118
    "karma-mocha-reporter": "^2.2.5",
    "karma-phantomjs-launcher": "^1.0.4",
119
    "arsnova-click-v2-types": "git+https://git.thm.de/arsnova/arsnova-click-v2-types.git",
120
    "minimist": "^1.2.0",
121
    "mkdirp": "^0.5.1",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
122
    "protractor": "^5.4.2",
123
    "puppeteer": "^1.18.0",
124
    "purify-css": "~1.2.5",
125 126 127 128
    "sharp": "^0.22.1",
    "ts-node": "~8.3.0",
    "tslib": "^1.10.0",
    "tslint": "~5.18.0",
129
    "typescript": "~3.4.5",
130
    "webpack-cli": "^3.1.2",
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
131
    "webpack-node-externals": "^1.7.2"
132 133 134 135
  },
  "keywords": [
    "arsnova",
    "arsnova.click",
136
    "Audience Response System"
137 138
  ],
  "author": "Christopher Fullarton"
Christopher Mark Fullarton's avatar
Christopher Mark Fullarton committed
139
}