Skip to content

Commit 38303a4

Browse files
committed
feat(test-app): a simple test app to demonstrate how everything wortks
1 parent 15ad4ff commit 38303a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+649
-0
lines changed

packages/test-app/.browserslistrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> 1%
2+
last 2 versions

packages/test-app/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
/tests/e2e/videos/
6+
/tests/e2e/screenshots/
7+
8+
# local env files
9+
.env.local
10+
.env.*.local
11+
12+
# Log files
13+
npm-debug.log*
14+
yarn-debug.log*
15+
yarn-error.log*
16+
17+
# Editor directories and files
18+
.idea
19+
.vscode
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

packages/test-app/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# test-app
2+
3+
## Project setup
4+
```
5+
npm install
6+
```
7+
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
11+
```
12+
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```
17+
18+
### Run your tests
19+
```
20+
npm run test
21+
```
22+
23+
### Lints and fixes files
24+
```
25+
npm run lint
26+
```
27+
28+
### Run your end-to-end tests
29+
```
30+
npm run test:e2e
31+
```
32+
33+
### Run your unit tests
34+
```
35+
npm run test:unit
36+
```
37+
38+
### Customize configuration
39+
See [Configuration Reference](https://cli.vuejs.org/config/).

packages/test-app/babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
]
5+
}

packages/test-app/cypress.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"pluginsFile": "tests/e2e/plugins/index.js"
3+
}

packages/test-app/package.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "test-app",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"lint": "vue-cli-service lint",
9+
"test": "npm run test:unit",
10+
"test:e2e": "vue-cli-service test:e2e",
11+
"test:unit": "vue-cli-service test:unit"
12+
},
13+
"dependencies": {
14+
"core-js": "^2.6.5",
15+
"register-service-worker": "^1.6.2",
16+
"vue": "^2.6.10",
17+
"vue-class-component": "^7.0.2",
18+
"vue-property-decorator": "^8.1.0",
19+
"vue-router": "^3.0.3"
20+
},
21+
"devDependencies": {
22+
"@types/chai": "^4.1.0",
23+
"@types/mocha": "^5.2.4",
24+
"@vue/cli-plugin-babel": "^3.11.0",
25+
"@vue/cli-plugin-e2e-cypress": "^3.11.0",
26+
"@vue/cli-plugin-pwa": "^3.11.0",
27+
"@vue/cli-plugin-typescript": "^3.11.0",
28+
"@vue/cli-plugin-unit-mocha": "^3.11.0",
29+
"@vue/cli-service": "^3.11.0",
30+
"@vue/test-utils": "1.0.0-beta.29",
31+
"chai": "^4.1.2",
32+
"typescript": "^3.4.3",
33+
"vue-template-compiler": "^2.6.10"
34+
}
35+
}

packages/test-app/postcss.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
plugins: {
3+
autoprefixer: {}
4+
}
5+
}

packages/test-app/public/favicon.ico

4.19 KB
Binary file not shown.
Loading
Loading

0 commit comments

Comments
 (0)