1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
{
"name": "@nextcloud/text",
"description": "Collaborative document editing",
"version": "25.0.0-alpha.2",
"authors": [
{
"name": "Julius Härtl",
"email": "jus@bitgrid.net",
"role": "Developer"
}
],
"license": "agpl",
"files": [
"dist"
],
"module": "dist/index.js",
"main": "dist/index.js",
"scripts": {
"dev": "NODE_ENV=development webpack --config webpack.js",
"dev:package": "vite",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
"build": "NODE_ENV=production webpack --progress --config webpack.js",
"build:package": "vite build",
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css",
"stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix",
"test": "NODE_ENV=test jest",
"test:cypress": "cd cypress && ./runLocal.sh run",
"test:coverage": "NODE_ENV=test jest --coverage"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"dependencies": {
"@nextcloud/auth": "^1.3.0",
"@nextcloud/browser-storage": "^0.1.1",
"@nextcloud/router": "^2.0.0",
"@tiptap/core": "^2.0.0-beta.176",
"@tiptap/extension-blockquote": "^2.0.0-beta.26",
"@tiptap/extension-bold": "^2.0.0-beta.26",
"@tiptap/extension-bullet-list": "^2.0.0-beta.26",
"@tiptap/extension-code-block": "^2.0.0-beta.37",
"@tiptap/extension-code-block-lowlight": "^2.0.0-beta.68",
"@tiptap/extension-document": "^2.0.0-beta.15",
"@tiptap/extension-dropcursor": "^2.0.0-beta.25",
"@tiptap/extension-hard-break": "^2.0.0-beta.30",
"@tiptap/extension-heading": "^2.0.0-beta.26",
"@tiptap/extension-history": "^2.0.0-beta.21",
"@tiptap/extension-horizontal-rule": "^2.0.0-beta.31",
"@tiptap/extension-image": "^2.0.0-beta.27",
"@tiptap/extension-italic": "^2.0.0-beta.26",
"@tiptap/extension-link": "^2.0.0-beta.38",
"@tiptap/extension-list-item": "^2.0.0-beta.20",
"@tiptap/extension-ordered-list": "^2.0.0-beta.27",
"@tiptap/extension-paragraph": "^2.0.0-beta.23",
"@tiptap/extension-placeholder": "^2.0.0-beta.48",
"@tiptap/extension-strike": "^2.0.0-beta.27",
"@tiptap/extension-table": "^2.0.0-beta.49",
"@tiptap/extension-table-cell": "^2.0.0-beta.20",
"@tiptap/extension-table-header": "^2.0.0-beta.22",
"@tiptap/extension-table-row": "^2.0.0-beta.19",
"@tiptap/extension-task-item": "^2.0.0-beta.32",
"@tiptap/extension-task-list": "^2.0.0-beta.26",
"@tiptap/extension-text": "^2.0.0-beta.15",
"@tiptap/extension-underline": "^2.0.0-beta.23",
"@tiptap/suggestion": "^2.0.0-beta.92",
"@tiptap/vue-2": "^2.0.0-beta.78",
"markdown-it": "^13.0.0",
"markdown-it-container": "^3.0.0",
"markdown-it-task-lists": "^2.1.1",
"path-normalize": "^6.0.2",
"prosemirror-collab": "^1.2.2",
"prosemirror-inputrules": "^1.2.0",
"prosemirror-markdown": "^1.8.0",
"prosemirror-model": "^1.16.1",
"prosemirror-schema-list": "^1.1.6",
"prosemirror-state": "^1.3.4",
"prosemirror-tables": "^1.1.1",
"prosemirror-transform": "^1.4.2",
"prosemirror-utils": "^1.0.0-0",
"prosemirror-view": "^1.23.13",
"proxy-polyfill": "^0.3.2",
"tippy.js": "^6.3.7",
"vue": "^2.6.14",
"vue-click-outside": "^1.1.0",
"vue-material-design-icons": "^5.0.0",
"vuex": "^3.6.2"
},
"engines": {
"node": "^14.0.0",
"npm": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.12",
"@babel/eslint-parser": "^7.18.2",
"@cypress/browserify-preprocessor": "^3.0.2",
"@cypress/webpack-preprocessor": "^5.12.0",
"@nextcloud/axios": "^1.10.0",
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^2.2.0",
"@nextcloud/dialogs": "^3.1.2",
"@nextcloud/eslint-config": "^8.0.0",
"@nextcloud/eslint-plugin": "^2.0.0",
"@nextcloud/event-bus": "^2.1.1",
"@nextcloud/initial-state": "^1.2.1",
"@nextcloud/l10n": "^1.6.0",
"@nextcloud/moment": "^1.2.1",
"@nextcloud/stylelint-config": "^2.1.2",
"@nextcloud/vue": "^5.3.1",
"@nextcloud/webpack-vue-config": "^5.1.0",
"@vue/test-utils": "^1.3.0",
"@vue/vue2-jest": "^27.0.0",
"babel-loader": "^8.2.5",
"core-js": "^3.22.7",
"css-loader": "^6.7.1",
"cypress": "^10.0.3",
"cypress-file-upload": "^5.0.8",
"debounce": "^1.2.1",
"escape-html": "^1.0.3",
"eslint": "^8.17.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-vue": "^8.7.1",
"highlight.js": "^10.7.2",
"jest": "^27.5.1",
"jest-raw-loader": "^1.0.1",
"jest-serializer-vue": "^2.0.2",
"lowlight": "^1.20.0",
"mitt": "^3.0.0",
"node-polyfill-webpack-plugin": "^1.1.4",
"regenerator-runtime": "^0.13.9",
"sass": "^1.51.0",
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"vite": "^2.9.9",
"vite-plugin-commonjs": "^0.4.7",
"vite-plugin-vue2": "^2.0.0",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.14",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0"
},
"jest": {
"verbose": true,
"testEnvironment": "jest-environment-jsdom",
"moduleFileExtensions": [
"js",
"vue",
"md",
"html"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"testPathIgnorePatterns": [
"<rootDir>/src/tests/fixtures/",
"<rootDir>/build",
"<rootDir>/cypress"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/@vue/vue2-jest",
".*\\.md$": "jest-raw-loader",
".*\\.html$": "jest-raw-loader"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
],
"setupFilesAfterEnv": [
"<rootDir>/src/tests/setup.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!vue-material-design-icons)"
]
}
}
|