Skip to content

Commit

Permalink
update cypress scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurier committed Jul 8, 2024
1 parent d8d3a87 commit 1774344
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
"lint": "eslint .",
"build-prod": "vite build --mode=production",
"serve-prod": "vite --mode production",
"cypress:open": "cypress open",
"cypress:run-component": "cypress run --component",
"cypress:run-e2e": "cypress run --e2e",
"test-component": "start-server-and-test serve http-get://localhost:8080 cypress:run-component",
"test-e2e": "start-server-and-test serve http-get://localhost:8080 cypress:run-e2e",
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
"test:unit": "cypress run --component",
"test:unit:dev": "cypress open --component",
"up": "taze major -I",
"link": "npm link @cznethub/cznet-vue-core"
},
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,12 @@
"isolatedModules": true,
"skipLibCheck": true
},
"include": [
"env.d.ts",
"src/**/*",
"src/**/*.vue",
"cypress/support/component.*",
"cypress/support/commands.ts"
],
"exclude": ["dist", "node_modules", "cypress"]
}

0 comments on commit 1774344

Please sign in to comment.