Skip to content

Commit 734e909

Browse files
committed
initial project generated by quasar
0 parents  commit 734e909

37 files changed

+10537
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/dist
2+
/src-bex/www
3+
/src-capacitor
4+
/src-cordova
5+
/.quasar
6+
/node_modules
7+
.eslintrc.js
8+
/src-ssr

.eslintrc.js

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
const { resolve } = require('path');
2+
module.exports = {
3+
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
4+
// This option interrupts the configuration hierarchy at this file
5+
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
6+
root: true,
7+
8+
// https://eslint.vuejs.org/user-guide/#how-to-use-custom-parser
9+
// Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working
10+
// `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
11+
parserOptions: {
12+
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#configuration
13+
// https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#eslint
14+
// Needed to make the parser take into account 'vue' files
15+
extraFileExtensions: ['.vue'],
16+
parser: '@typescript-eslint/parser',
17+
project: resolve(__dirname, './tsconfig.json'),
18+
tsconfigRootDir: __dirname,
19+
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
20+
sourceType: 'module' // Allows for the use of imports
21+
},
22+
23+
env: {
24+
browser: true
25+
},
26+
27+
// Rules order is important, please avoid shuffling them
28+
extends: [
29+
// Base ESLint recommended rules
30+
// 'eslint:recommended',
31+
32+
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage
33+
// ESLint typescript rules
34+
'plugin:@typescript-eslint/recommended',
35+
// consider disabling this class of rules if linting takes too long
36+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
37+
38+
// Uncomment any of the lines below to choose desired strictness,
39+
// but leave only one uncommented!
40+
// See https://eslint.vuejs.org/rules/#available-rules
41+
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
42+
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
43+
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
44+
45+
// https://github.com/prettier/eslint-config-prettier#installation
46+
// usage with Prettier, provided by 'eslint-config-prettier'.
47+
'prettier'
48+
],
49+
50+
plugins: [
51+
// required to apply rules which need type information
52+
'@typescript-eslint',
53+
54+
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-file
55+
// required to lint *.vue files
56+
'vue',
57+
58+
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
59+
// Prettier has not been included as plugin to avoid performance impact
60+
// add it as an extension for your IDE
61+
],
62+
63+
globals: {
64+
ga: 'readonly', // Google Analytics
65+
cordova: 'readonly',
66+
__statics: 'readonly',
67+
__QUASAR_SSR__: 'readonly',
68+
__QUASAR_SSR_SERVER__: 'readonly',
69+
__QUASAR_SSR_CLIENT__: 'readonly',
70+
__QUASAR_SSR_PWA__: 'readonly',
71+
process: 'readonly',
72+
Capacitor: 'readonly',
73+
chrome: 'readonly'
74+
},
75+
76+
// add your custom rules here
77+
rules: {
78+
'prefer-promise-reject-errors': 'off',
79+
80+
// TypeScript
81+
quotes: ['warn', 'single', { avoidEscape: true }],
82+
'@typescript-eslint/explicit-function-return-type': 'off',
83+
'@typescript-eslint/explicit-module-boundary-types': 'off',
84+
85+
// allow debugger during development only
86+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
87+
}
88+
}

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.DS_Store
2+
.thumbs.db
3+
node_modules
4+
5+
# Quasar core related directories
6+
.quasar
7+
/dist
8+
9+
# Cordova related directories and files
10+
/src-cordova/node_modules
11+
/src-cordova/platforms
12+
/src-cordova/plugins
13+
/src-cordova/www
14+
15+
# Capacitor related directories and files
16+
/src-capacitor/www
17+
/src-capacitor/node_modules
18+
19+
# BEX related directories and files
20+
/src-bex/www
21+
/src-bex/js/core
22+
23+
# Log files
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# Editor directories and files
29+
.idea
30+
*.suo
31+
*.ntvs*
32+
*.njsproj
33+
*.sln
34+
/.vscode/

.postcssrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
2+
3+
module.exports = {
4+
plugins: [
5+
// to edit target browsers: use "browserslist" field in package.json
6+
require('autoprefixer')
7+
]
8+
}

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"semi": true
4+
}

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Quasar App (quasar2-overmind)
2+
3+
A Quasar Framework app
4+
5+
## Install the dependencies
6+
```bash
7+
yarn
8+
```
9+
10+
### Start the app in development mode (hot-code reloading, error reporting, etc.)
11+
```bash
12+
quasar dev
13+
```
14+
15+
### Lint the files
16+
```bash
17+
yarn run lint
18+
```
19+
20+
### Build the app for production
21+
```bash
22+
quasar build
23+
```
24+
25+
### Customize the configuration
26+
See [Configuring quasar.conf.js](https://v2.quasar.dev/quasar-cli/quasar-conf-js).

babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* eslint-env node */
2+
module.exports = {
3+
presets: [
4+
'@quasar/babel-preset-app'
5+
]
6+
}

package.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"name": "quasar2-overmind",
3+
"version": "0.0.1",
4+
"description": "A Quasar Framework app",
5+
"productName": "Quasar App",
6+
"author": "Jaroslaw Zabiello <[email protected]>",
7+
"private": true,
8+
"scripts": {
9+
"lint": "eslint --ext .js,.ts,.vue ./",
10+
"test": "echo \"No test specified\" && exit 0"
11+
},
12+
"dependencies": {
13+
"@quasar/extras": "^1.0.0",
14+
"axios": "^0.21.1",
15+
"core-js": "^3.6.5",
16+
"overmind": "^27.0.0",
17+
"overmind-vue": "^27.0.0",
18+
"quasar": "^2.0.0-beta.1",
19+
"vue-i18n": "^9.0.0-beta.0"
20+
},
21+
"devDependencies": {
22+
"@quasar/app": "^3.0.0-beta.1",
23+
"@types/node": "^10.17.15",
24+
"@typescript-eslint/eslint-plugin": "^4.16.1",
25+
"@typescript-eslint/parser": "^4.16.1",
26+
"babel-eslint": "^10.0.1",
27+
"eslint": "^7.14.0",
28+
"eslint-config-prettier": "^8.1.0",
29+
"eslint-plugin-vue": "^7.0.0"
30+
},
31+
"browserslist": [
32+
"last 10 Chrome versions",
33+
"last 10 Firefox versions",
34+
"last 4 Edge versions",
35+
"last 7 Safari versions",
36+
"last 8 Android versions",
37+
"last 8 ChromeAndroid versions",
38+
"last 8 FirefoxAndroid versions",
39+
"last 10 iOS versions",
40+
"last 5 Opera versions"
41+
],
42+
"engines": {
43+
"node": ">= 10.18.1",
44+
"npm": ">= 6.13.4",
45+
"yarn": ">= 1.21.1"
46+
}
47+
}

public/favicon.ico

16.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)