Commit dc3b1f5f authored by Florent Poittevin's avatar Florent Poittevin
Browse files

Revert "chore: download jar only on build script"

This reverts commit 1023f310.
parent 1023f310
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
"start:no-watch": "npm run prepare && npm run generate-models && npm run serve -- --watch=false", "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: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", "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": "npm run prepare && ng test --no-progress --code-coverage",
"test:ci": "npm run prepare && ng test --code-coverage --watch=false --no-progress --browsers=ChromeNoSandboxHeadless", "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": "concurrently \"npm run start\" \"npm run cypress-open\"",
"cypress-open": "npm run cypress-environment-local && cypress open", "cypress-open": "npm run cypress-environment-local && cypress open",
"cypress:ci": "npm run cypress-environment-local && cypress run", "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", "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)", "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)", "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)", "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)",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment