Skip to content

Commit a22bbec

Browse files
init
0 parents  commit a22bbec

24 files changed

+11766
-0
lines changed

.browserslistrc

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

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[*.{js,jsx,ts,tsx,vue}]
2+
indent_style = space
3+
indent_size = 2
4+
end_of_line = lf
5+
trim_trailing_whitespace = true
6+
insert_final_newline = true
7+
max_line_length = 100

.eslintrc.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: [
7+
'plugin:vue/vue3-essential',
8+
'@vue/airbnb',
9+
'@vue/typescript/recommended',
10+
],
11+
parserOptions: {
12+
ecmaVersion: 2020,
13+
},
14+
rules: {
15+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
17+
},
18+
overrides: [
19+
{
20+
files: [
21+
'**/__tests__/*.{j,t}s?(x)',
22+
'**/tests/unit/**/*.spec.{j,t}s?(x)',
23+
],
24+
env: {
25+
jest: true,
26+
},
27+
},
28+
],
29+
};

.gitignore

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

README.md

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

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/cli-plugin-babel/preset',
4+
],
5+
};

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+
}

jest.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
3+
transform: {
4+
'^.+\\.vue$': 'vue-jest',
5+
},
6+
};

package.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "vue-hooks-form2",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"test:unit": "vue-cli-service test:unit",
9+
"test:e2e": "vue-cli-service test:e2e",
10+
"lint": "vue-cli-service lint"
11+
},
12+
"dependencies": {
13+
"core-js": "^3.6.5",
14+
"vue": "^3.0.0-0"
15+
},
16+
"devDependencies": {
17+
"@types/jest": "^24.0.19",
18+
"@typescript-eslint/eslint-plugin": "^2.33.0",
19+
"@typescript-eslint/parser": "^2.33.0",
20+
"@vue/cli-plugin-babel": "~4.5.0",
21+
"@vue/cli-plugin-e2e-cypress": "~4.5.0",
22+
"@vue/cli-plugin-eslint": "~4.5.0",
23+
"@vue/cli-plugin-typescript": "~4.5.0",
24+
"@vue/cli-plugin-unit-jest": "~4.5.0",
25+
"@vue/cli-service": "~4.5.0",
26+
"@vue/compiler-sfc": "^3.0.0-0",
27+
"@vue/eslint-config-airbnb": "^5.0.2",
28+
"@vue/eslint-config-typescript": "^5.0.2",
29+
"@vue/test-utils": "^2.0.0-0",
30+
"eslint": "^6.7.2",
31+
"eslint-plugin-import": "^2.20.2",
32+
"eslint-plugin-vue": "^7.0.0-0",
33+
"typescript": "~3.9.3",
34+
"vue-jest": "^5.0.0-0"
35+
}
36+
}

public/favicon.ico

4.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)