Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
arsnova-click-v2-frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
12
Merge Requests
12
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
arsnova-click-v2-frontend
Commits
c34f5ce1
Commit
c34f5ce1
authored
Jun 12, 2018
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Installs angular-cli globally before all scripts
parent
9cdab482
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
.gitlab-ci.yml
.gitlab-ci.yml
+3
-1
package.json
package.json
+10
-10
No files found.
.gitlab-ci.yml
View file @
c34f5ce1
before_script
:
-
npm install -g @angular-cli@6.0.3
stages
:
-
install
-
test
...
...
@@ -83,4 +86,3 @@ deploy:
-
ssh-keyscan "$STAGING_FRONTEND_URL" >> ~/.ssh/known_hosts
-
ssh-add <(echo "$STAGING_SSH_PRIVATE_KEY")
-
scp -r dist/* "$STAGING_FRONTEND_SCP_URL"
package.json
View file @
c34f5ce1
...
...
@@ -10,20 +10,20 @@
"scripts"
:
{
"ng"
:
"./node_modules/.bin/ng"
,
"start:SSR"
:
"cd dist && node server"
,
"start:DEV"
:
"
./node_modules/.bin/
ng serve --host 0.0.0.0 --port 4200 --disable-host-check --aot"
,
"build:DEV"
:
"
./node_modules/.bin/
ng serve --host 0.0.0.0 --port 4200 --disable-host-check --aot --prod"
,
"start:DEV"
:
"
npm run
ng serve --host 0.0.0.0 --port 4200 --disable-host-check --aot"
,
"build:DEV"
:
"
npm run
ng serve --host 0.0.0.0 --port 4200 --disable-host-check --aot --prod"
,
"build:SSR"
:
"npm run build:PROD && npm run purify && npm run build:SERVER && npm run webpack:SERVER"
,
"build:SERVER"
:
"
./node_modules/.bin/
ng run frontend:server"
,
"build:PROD"
:
"
./node_modules/.bin/
ng build --prod"
,
"build:PROD-STATS"
:
"
./node_modules/.bin/
ng build --prod --stats-json"
,
"build:SERVER"
:
"
npm run
ng run frontend:server"
,
"build:PROD"
:
"
npm run
ng build --prod"
,
"build:PROD-STATS"
:
"
npm run
ng build --prod --stats-json"
,
"bundle-report"
:
"webpack-bundle-analyzer dist/browser/stats.json"
,
"webpack:SERVER"
:
"webpack --config webpack.server.config.js --progress --colors"
,
"test"
:
"
./node_modules/.bin/
ng test --browsers=ChromeHeadless --watch=false --source-map=false"
,
"test:DEV"
:
"
./node_modules/.bin/
ng test --browsers=Chrome --karma-config=src/karma.conf.dev.js --source-map=false"
,
"test:DEV:HEADLESS"
:
"
./node_modules/.bin/
ng test --browsers=ChromeHeadless --karma-config=src/karma.conf.dev.js --source-map=false"
,
"lint"
:
"
./node_modules/.bin/
ng lint"
,
"test"
:
"
npm run
ng test --browsers=ChromeHeadless --watch=false --source-map=false"
,
"test:DEV"
:
"
npm run
ng test --browsers=Chrome --karma-config=src/karma.conf.dev.js --source-map=false"
,
"test:DEV:HEADLESS"
:
"
npm run
ng test --browsers=ChromeHeadless --karma-config=src/karma.conf.dev.js --source-map=false"
,
"lint"
:
"
npm run
ng lint"
,
"pree2e"
:
"webdriver-manager update --standalone false --gecko false"
,
"e2e"
:
"
./node_modules/.bin/
ng e2e --no-webdriver-update"
,
"e2e"
:
"
npm run
ng e2e --no-webdriver-update"
,
"purify"
:
"node purifycss.js"
,
"compress"
:
"gzip dist/browser/** -r"
,
"http-startup"
:
"http-server dist/browser/ -p 4711 --gzip"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment