Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit 41e2b93

Browse files
committed
feat: init the project
0 parents  commit 41e2b93

23 files changed

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

.eslintrc.js

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

.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-animation-timeline
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ["@vue/cli-plugin-babel/preset"],
3+
};

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: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "vue-animation-timeline",
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"
15+
},
16+
"devDependencies": {
17+
"@types/jest": "^24.0.19",
18+
"@typescript-eslint/eslint-plugin": "^4.18.0",
19+
"@typescript-eslint/parser": "^4.18.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",
27+
"@vue/eslint-config-prettier": "^6.0.0",
28+
"@vue/eslint-config-typescript": "^7.0.0",
29+
"@vue/test-utils": "^2.0.0-0",
30+
"eslint": "^6.7.2",
31+
"eslint-plugin-prettier": "^3.3.1",
32+
"eslint-plugin-vue": "^7.0.0",
33+
"fibers": "^5.0.0",
34+
"lint-staged": "^9.5.0",
35+
"node-sass": "^7.0.0",
36+
"prettier": "^2.2.1",
37+
"sass": "^1.44.0",
38+
"sass-loader": "^10",
39+
"typescript": "~4.1.5",
40+
"vue-jest": "^5.0.0-0"
41+
},
42+
"gitHooks": {
43+
"pre-commit": "lint-staged"
44+
},
45+
"lint-staged": {
46+
"*.{js,jsx,vue,ts,tsx}": [
47+
"vue-cli-service lint",
48+
"git add"
49+
]
50+
}
51+
}

public/favicon.ico

4.19 KB
Binary file not shown.

public/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html lang="">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
7+
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8+
<title><%= htmlWebpackPlugin.options.title %></title>
9+
</head>
10+
<body style="padding: 0; margin: 0">
11+
<noscript>
12+
<strong>
13+
We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without
14+
JavaScript enabled. Please enable it to continue.
15+
</strong>
16+
</noscript>
17+
<div id="app" style="width: 100vw; height: 100vh"></div>
18+
<!-- built files will be auto injected -->
19+
</body>
20+
</html>

0 commit comments

Comments
 (0)