Skip to content

Commit

Permalink
fix cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
denysoblohin-okta committed Jun 20, 2022
1 parent 08dc4a7 commit 13d9c19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion custom-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod --deploy-url /custom-login/ --base-href /custom-login/",
"test": "yarn lint && yarn test:custom-login --cwd ../",
"test": "yarn lint && yarn --cwd .. test:custom-login",
"lint": "ng lint"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion okta-hosted-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod --deploy-url /okta-hosted-login/ --base-href /okta-hosted-login/",
"test": "yarn lint && yarn test:okta-hosted-login --cwd ../",
"test": "yarn lint && yarn --cwd .. test:okta-hosted-login",
"lint": "ng lint"
},
"private": true,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "0.0.4",
"description": "Angular Sample Applications for Okta",
"scripts": {
"lint:okta-hosted-login": "yarn lint --cwd okta-hosted-login/",
"lint:custom-login": "yarn lint --cwd custom-login/",
"lint:okta-hosted-login": "yarn --cwd okta-hosted-login lint",
"lint:custom-login": "yarn --cwd custom-login lint",
"lint": "yarn lint:okta-hosted-login && yarn lint:custom-login",
"test": "yarn test:e2e",
"test:e2e": "yarn test:okta-hosted-login && yarn test:custom-login",
"okta-hosted-login-server": "yarn start --cwd okta-hosted-login/",
"okta-hosted-login-server": "yarn --cwd okta-hosted-login start",
"test:okta-hosted-login": "export TEST_TYPE=implicit || setx TEST_TYPE \"implicit\" && protractor protractor.conf.js --sample=okta-hosted-login --disableChecks",
"custom-login-server": "yarn start --cwd custom-login/",
"custom-login-server": "yarn --cwd custom-login start",
"test:custom-login": "export TEST_TYPE=implicit || setx TEST_TYPE \"implicit\" && protractor protractor.conf.js --sample=custom-login --disableChecks",
"resource-server": "node scripts/startResourceServer.js",
"preresource-server": "yarn setup-env",
Expand Down

0 comments on commit 13d9c19

Please sign in to comment.