Skip to content

Commit

Permalink
feat(@dpc-sdp/nuxt-ripple-cli): update package.json scripts to includ…
Browse files Browse the repository at this point in the history
…e ci mode tests
  • Loading branch information
David Featherston committed Aug 21, 2023
1 parent 93bf9e0 commit 469818a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ dist
.DS_Store
coverage

# Cypress
cypress/downloads
cypress/screenshots
cypress/videos

# Local History
.history

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ to: package.json
},
"scripts": {
"build": "nuxi build .playground",
"start": "nuxi start .playground",
"cy:open": "cypress open",
"dev": "nuxi prepare & nuxi dev .playground",
"dev:mock": "NUXT_PUBLIC_API_URL=http://localhost:3001 API_PORT=3001 npm run dev",
"lint": "eslint .",
"start": "nuxi start .playground",
"start:mock": "NUXT_PUBLIC_API_URL=http://localhost:3001 API_PORT=3001 nuxi start .playground",
"mock": "node mockserver",
"preview": "nuxi preview .playground",
"lint": "eslint .",
"cy:open": "cypress open",
"cy:run": "cypress run",
"test:unit": "jest --colors --runInBand --passWithNoTests",
"test:integration": "start-test dev:mock 'http-get://localhost:3000/api/tide/site?id=8888' 'cy:open'"
},
"test:integration": "start-test dev:mock tcp:3000 'cy:open'",
"test:integration-ci": "start-test start:mock tcp:3000 'cy:run'"
}
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.22.4",
"@babel/preset-env": "^7.22.4",
Expand Down

0 comments on commit 469818a

Please sign in to comment.