Skip to content

Commit 46af68b

Browse files
committed
feat: init commit
0 parents  commit 46af68b

File tree

150 files changed

+50130
-0
lines changed

Some content is hidden

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

150 files changed

+50130
-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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist

.eslintrc.js

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
module.exports = {
2+
root: true,
3+
4+
parserOptions: {
5+
parser: 'babel-eslint',
6+
sourceType: 'module'
7+
},
8+
9+
env: {
10+
browser: true
11+
},
12+
13+
extends: [
14+
'standard',
15+
// Uncomment any of the lines below to choose desired strictness,
16+
// but leave only one uncommented!
17+
// See https://eslint.vuejs.org/rules/#available-rules
18+
'plugin:vue/essential' // Priority A: Essential (Error Prevention)
19+
// 'plugin:vue/strongly-recommended' // Priority B: Strongly Recommended (Improving Readability)
20+
// 'plugin:vue/recommended' // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
21+
],
22+
23+
// required to lint *.vue files
24+
plugins: [
25+
'vue'
26+
],
27+
28+
globals: {
29+
'ga': true, // Google Analytics
30+
'cordova': true,
31+
'__statics': true,
32+
'process': true,
33+
'Capacitor': true,
34+
'chrome': true
35+
},
36+
37+
// add your custom rules here
38+
rules: {
39+
// allow async-await
40+
'generator-star-spacing': 'off',
41+
// allow paren-less arrow functions
42+
'arrow-parens': 'off',
43+
'one-var': 'off',
44+
45+
'import/first': 'off',
46+
'import/named': 'error',
47+
'import/namespace': 'error',
48+
'import/default': 'error',
49+
'import/export': 'error',
50+
'import/extensions': 'off',
51+
'import/no-unresolved': 'off',
52+
'import/no-extraneous-dependencies': 'off',
53+
'prefer-promise-reject-errors': 'off',
54+
55+
// allow debugger during development only
56+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
57+
58+
'camelcase': 0,
59+
'no-undef': 0,
60+
'comma-dangle': 0,
61+
'vue/no-unused-components': 0
62+
}
63+
}

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.quasar
2+
.DS_Store
3+
.thumbs.db
4+
node_modules
5+
/dist
6+
/src-cordova
7+
/src-electron
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
12+
# Editor directories and files
13+
.idea
14+
.vscode
15+
*.suo
16+
*.ntvs*
17+
*.njsproj
18+
*.sln

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

.stylintrc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"blocks": "never",
3+
"brackets": "never",
4+
"colons": "never",
5+
"colors": "always",
6+
"commaSpace": "always",
7+
"commentSpace": "always",
8+
"cssLiteral": "never",
9+
"depthLimit": false,
10+
"duplicates": true,
11+
"efficient": "always",
12+
"extendPref": false,
13+
"globalDupe": true,
14+
"indentPref": 2,
15+
"leadingZero": "never",
16+
"maxErrors": false,
17+
"maxWarnings": false,
18+
"mixed": false,
19+
"namingConvention": false,
20+
"namingConventionStrict": false,
21+
"none": "never",
22+
"noImportant": false,
23+
"parenSpace": "never",
24+
"placeholder": false,
25+
"prefixVarsWithDollar": "always",
26+
"quotePref": "single",
27+
"semicolons": "never",
28+
"sortOrder": false,
29+
"stackedProperties": "never",
30+
"trailingWhitespace": "never",
31+
"universal": "never",
32+
"valid": true,
33+
"zeroUnits": "never",
34+
"zIndexNormalize": false
35+
}

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Quasar Tiptap (quasar-tiptap)
2+
3+
A modern WYSIWYG rich-text editor using tiptap and Quasar
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://quasar.dev/quasar-cli/quasar-conf-js).

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+
'@quasar/babel-preset-app'
4+
]
5+
}

jsconfig.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"src/*": [
6+
"src/*"
7+
],
8+
"app/*": [
9+
"*"
10+
],
11+
"components/*": [
12+
"src/components/*"
13+
],
14+
"layouts/*": [
15+
"src/layouts/*"
16+
],
17+
"pages/*": [
18+
"src/pages/*"
19+
],
20+
"assets/*": [
21+
"src/assets/*"
22+
],
23+
"boot/*": [
24+
"src/boot/*"
25+
],
26+
"vue$": [
27+
"node_modules/vue/dist/vue.esm.js"
28+
]
29+
}
30+
},
31+
"exclude": [
32+
"dist",
33+
".quasar",
34+
"node_modules"
35+
]
36+
}

package.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "quasar-tiptap",
3+
"version": "0.0.1",
4+
"description": "A modern WYSIWYG rich-text editor using tiptap and Quasar",
5+
"productName": "Quasar Tiptap",
6+
"cordovaId": "org.cordova.quasar.app",
7+
"capacitorId": "",
8+
"author": "Micle Bu <[email protected]>",
9+
"private": true,
10+
"scripts": {
11+
"lint": "eslint --ext .js,.vue src",
12+
"test": "echo \"No test specified\" && exit 0"
13+
},
14+
"dependencies": {
15+
"@quasar/extras": "^1.0.0",
16+
"axios": "^0.18.1",
17+
"quasar": "^1.0.0",
18+
"vue-i18n": "^8.0.0",
19+
"tiptap": "^1.26.8",
20+
"tiptap-extensions": "^1.28.8",
21+
"vue-codemirror": "^4.0.6",
22+
"mermaid": "^8.4.8",
23+
"katex": "^0.11.1"
24+
},
25+
"devDependencies": {
26+
"@quasar/app": "^1.0.0",
27+
"babel-eslint": "^10.0.1",
28+
"eslint": "^6.8.0",
29+
"eslint-config-standard": "^14.1.0",
30+
"eslint-loader": "^3.0.3",
31+
"eslint-plugin-import": "^2.14.0",
32+
"eslint-plugin-node": "^11.0.0",
33+
"eslint-plugin-promise": "^4.0.1",
34+
"eslint-plugin-standard": "^4.0.0",
35+
"eslint-plugin-vue": "^6.1.2"
36+
},
37+
"engines": {
38+
"node": ">= 10.18.1",
39+
"npm": ">= 6.13.4",
40+
"yarn": ">= 1.21.1"
41+
},
42+
"browserslist": [
43+
"last 1 version, not dead, ie >= 11"
44+
],
45+
"resolutions": {
46+
"@babel/parser": "7.7.5"
47+
}
48+
}

0 commit comments

Comments
 (0)