We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8b6c2cd commit8db43ceCopy full SHA for 8db43ce
index.ts
@@ -348,24 +348,24 @@ async function init() {
348
if(needsPinia){
349
render('config/pinia')
350
}
351
-if(needsVitest){
352
-render('config/vitest')
353
-}
354
if(needsCypress){
355
render('config/cypress')
356
357
-if(needsCypressCT){
358
-render('config/cypress-ct')
359
360
if(needsNightwatch){
361
render('config/nightwatch')
362
363
-if(needsNightwatchCT){
364
-render('config/nightwatch-ct')
365
366
if(needsPlaywright){
367
render('config/playwright')
368
+if(needsVitest){
+render('config/vitest')
+}
+if(needsCypressCT){
+render('config/cypress-ct')
+if(needsNightwatchCT){
+render('config/nightwatch-ct')
369
if(needsTypeScript){
370
render('config/typescript')
371
template/base/package.json
@@ -2,6 +2,7 @@
2
"private":true,
3
"scripts": {
4
"dev":"vite",
5
+"start":"npm run dev",
6
"build":"vite build",
7
"preview":"vite preview"
8
},
template/config/cypress-ct/package.json
@@ -1,7 +1,8 @@
1
{
"test:unit":"cypress run --component",
-"test:unit:dev":"cypress open --component"
+"test:unit:dev":"cypress open --component",
+"test":"npm run test:unit"
"dependencies": {
"vue":"^3.3.8"
template/config/cypress/package.json
"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:e2e:dev":"start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
+"test":"npm run test:e2e"
"devDependencies": {
"cypress":"^13.5.1",
template/config/nightwatch-ct/package.json
@@ -1,6 +1,7 @@
-"test:unit":"nightwatch src/components/**/__tests__/*"
+"test:unit":"nightwatch src/components/**/__tests__/*",
template/config/nightwatch/package.json
-"test:e2e":"nightwatch tests/e2e"
+"test:e2e":"nightwatch tests/e2e",
"nightwatch":"^3.3.2",
template/config/playwright/package.json
-"test:e2e":"playwright test"
+"test:e2e":"playwright test",
"@playwright/test":"^1.40.0"
template/config/vitest/package.json
-"test:unit":"vitest"
+"test:unit":"vitest",