Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DLCM
UI
DLCM-Portal
Commits
dc3b1f5f
Commit
dc3b1f5f
authored
Jan 05, 2022
by
Florent Poittevin
Browse files
Revert "chore: download jar only on build script"
This reverts commit
1023f310
.
parent
1023f310
Changes
1
Show whitespace changes
Inline
Side-by-side
package.json
View file @
dc3b1f5f
...
...
@@ -13,14 +13,14 @@
"start:no-watch"
:
"npm run prepare && npm run generate-models && npm run serve -- --watch=false"
,
"start:remote"
:
"npm run prepare && npm run generate-models && npm run serve -- --host 0.0.0.0 --port 4200 --disable-host-check"
,
"start:noapigenerate"
:
"npm run prepare && npm run serve"
,
"build"
:
"npm run
download-jar && npm run
prepare && ng build --aot=true --configuration production --source-map=false"
,
"build"
:
"npm run prepare && ng build --aot=true --configuration production --source-map=false"
,
"test"
:
"npm run prepare && ng test --no-progress --code-coverage"
,
"test:ci"
:
"npm run prepare && ng test --code-coverage --watch=false --no-progress --browsers=ChromeNoSandboxHeadless"
,
"cypress"
:
"concurrently
\"
npm run start
\"
\"
npm run cypress-open
\"
"
,
"cypress-open"
:
"npm run cypress-environment-local && cypress open"
,
"cypress:ci"
:
"npm run cypress-environment-local && cypress run"
,
"download-jar"
:
"wget -q https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/5.2.1/openapi-generator-cli-5.2.1.jar && mkdir -p ./node_modules/@openapitools/openapi-generator-cli/versions && mv openapi-generator-cli-5.2.1.jar ./node_modules/@openapitools/openapi-generator-cli/versions/5.2.1.jar"
,
"prepare"
:
"npm run generate-version && npm run environment-local && npm run proxy-conf-local"
,
"prepare"
:
"npm run
download-jar && npm run
generate-version && npm run environment-local && npm run proxy-conf-local"
,
"environment-local"
:
"(cp -n src/assets/files-to-copy/environment.local.ts-to-copy.txt src/environments/environment.local.ts || echo environment.local.ts already exists)"
,
"cypress-environment-local"
:
"(cp -n src/assets/files-to-copy/cypress-environment.local.ts-to-copy.txt cypress/integration/environments/cypress-environment.local.ts || echo cypress-environment.local.ts already exists)"
,
"proxy-conf-local"
:
"(cp -n src/assets/files-to-copy/proxy.conf.local.js-to-copy.txt proxy.conf.local.js || echo proxy.conf.local.js already exists)"
,
...
...
Write
Preview
Supports
Markdown
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