Skip to content

Commit 183218e

Browse files
committed
feat(init): Project Init push
Project initial updates
1 parent 2a96fad commit 183218e

Some content is hidden

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

55 files changed

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

.gitignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
#lock file
18+
#yarn.lock
19+
.yarnclean
20+
21+
# Editor directories and files
22+
.idea
23+
.vscode
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
#*.code-workspace

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Suresh Babu Sakthi
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

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

dev.code-workspace

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
},
6+
],
7+
"settings": {
8+
"eslint.validate": [
9+
"vue",
10+
"javascript",
11+
"typescript",
12+
"javascriptreact"
13+
],
14+
// "eslint.validate": [
15+
// {
16+
// "language": "vue",
17+
// "autoFix": true
18+
// },
19+
// {
20+
// "language": "javascript",
21+
// "autoFix": true
22+
// },
23+
// {
24+
// "language": "typescript",
25+
// "autoFix": true
26+
// },
27+
// {
28+
// "language": "javascriptreact",
29+
// "autoFix": true
30+
// }
31+
// ],
32+
// "eslint.autoFixOnSave": true,
33+
// "editor.formatOnSave": false,
34+
"vetur.validation.template": true,
35+
"editor.codeActionsOnSave": {
36+
"source.fixAll.eslint": true
37+
},
38+
"cSpell.words": [
39+
40+
],
41+
"editor.renameOnType": true
42+
}
43+
}

jest.config.js

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

package.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"name": "webapp",
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+
"moment": "2.26.0",
15+
"register-service-worker": "1.7.1",
16+
"vue": "2.6.11",
17+
"vue-router": "3.3.2",
18+
"vuex": "3.4.0",
19+
"bootstrap-vue": "2.15.0"
20+
},
21+
"devDependencies": {
22+
"@vue/cli-service": "4.4.1",
23+
"@vue/cli-plugin-babel": "4.4.1",
24+
"@vue/cli-plugin-e2e-cypress": "4.4.1",
25+
"@vue/cli-plugin-eslint": "4.4.1",
26+
"@vue/cli-plugin-pwa": "4.4.1",
27+
"@vue/cli-plugin-router": "4.4.1",
28+
"@vue/cli-plugin-typescript": "4.4.1",
29+
"@vue/cli-plugin-unit-jest": "4.4.1",
30+
"@vue/cli-plugin-vuex": "4.4.1",
31+
"@vue/eslint-config-prettier": "6.0.0",
32+
"@vue/eslint-config-typescript": "5.0.2",
33+
"@vue/preload-webpack-plugin": "1.1.1",
34+
"@vue/test-utils": "1.0.3",
35+
"@typescript-eslint/eslint-plugin": "2.34.0",
36+
"@typescript-eslint/parser": "2.34.0",
37+
"@types/jest": "25.2.3",
38+
"vue-template-compiler": "2.6.11",
39+
"vue-class-component": "7.2.3",
40+
"portal-vue": "2.1.7",
41+
"typescript": "3.9.5",
42+
"bootstrap": "4.5.0",
43+
"popper.js": "1.16.1",
44+
"node-sass": "4.14.1",
45+
"sass-loader": "8.0.2",
46+
"moment-locales-webpack-plugin": "1.2.0",
47+
"prettier": "2.0.5",
48+
"eslint": "6.8.0",
49+
"eslint-plugin-prettier": "3.1.3",
50+
"eslint-plugin-vue": "6.2.2"
51+
}
52+
}

public/favicon.ico

3.56 KB
Binary file not shown.

0 commit comments

Comments
 (0)