mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
chore: move test apps to test-app directory
This commit is contained in:
14
test-apps/vue/apps/vue3/jest.config.js
Normal file
14
test-apps/vue/apps/vue3/jest.config.js
Normal file
@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
preset: "@vue/cli-plugin-unit-jest/presets/typescript-and-babel",
|
||||
transform: {
|
||||
"^.+\\.vue$": "@vue/vue3-jest"
|
||||
},
|
||||
transformIgnorePatterns: ['/node_modules/(?!ionicons|@stencil/core|@ionic/core|@ionic/vue|@ionic/vue-router)'],
|
||||
globals: {
|
||||
"ts-jest": {
|
||||
diagnostics: {
|
||||
warnOnly: true
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
43
test-apps/vue/apps/vue3/package.json
Normal file
43
test-apps/vue/apps/vue3/package.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "test-app",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"description": "An Ionic project",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"serve": "vite preview",
|
||||
"test:unit": "vitest",
|
||||
"test:e2e": "concurrently \"pnpm run build && pnpm run serve\" \"wait-on http-get://localhost:8080 && pnpm run cypress\" --kill-others --success first",
|
||||
"lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore --fix src",
|
||||
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
|
||||
"cypress.open": "cypress open",
|
||||
"start": "pnpm run dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ionic/vue": "file:../../../",
|
||||
"@ionic/vue-router": "file:../../../../vue-router",
|
||||
"ionicons": "^6.0.4",
|
||||
"vue": "^3.4.14",
|
||||
"vue-router": "^4.2.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@vitejs/plugin-vue": "^3.1.0",
|
||||
"@vue/eslint-config-typescript": "^9.1.0",
|
||||
"@vue/test-utils": "^2.0.0-rc.18",
|
||||
"concurrently": "^6.0.0",
|
||||
"cypress": "^13.2.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-plugin-vue": "^8.0.3",
|
||||
"jsdom": "^20.0.0",
|
||||
"typescript": "~4.5.5",
|
||||
"vite": "^3.1.4",
|
||||
"vitest": "^1.2.1",
|
||||
"wait-on": "^5.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 16"
|
||||
}
|
||||
}
|
3904
test-apps/vue/apps/vue3/pnpm-lock.yaml
generated
Normal file
3904
test-apps/vue/apps/vue3/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
0
test-apps/vue/apps/vue3/pnpm-workspace.yaml
Normal file
0
test-apps/vue/apps/vue3/pnpm-workspace.yaml
Normal file
Reference in New Issue
Block a user