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
|
{
"name": "@nextcloud/text",
"description": "Collaborative document editing",
"version": "25.0.0-alpha.8",
"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 cypress",
"lint:fix": "eslint --ext .js,.vue src cypress --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:cypress:open": "cd cypress && ./runLocal.sh open",
"test:coverage": "NODE_ENV=test jest --coverage"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"dependencies": {
"@_ueberdosis/prosemirror-tables": "^1.1.3",
"@hedgedoc/markdown-it-task-lists": "^1.0.5",
"@nextcloud/auth": "^2.0.0",
"@nextcloud/axios": "^2.0.0",
"@nextcloud/browser-storage": "^0.1.1",
"@nextcloud/dialogs": "^3.2.0",
"@nextcloud/event-bus": "^3.0.0",
"@nextcloud/initial-state": "^1.2.1",
"@nextcloud/l10n": "^1.6.0",
"@nextcloud/moment": "^1.2.1",
"@nextcloud/router": "^2.0.0",
"@nextcloud/vue": "^6.0.0-beta.3",
"@tiptap/core": "^2.0.0-beta.182",
"@tiptap/extension-blockquote": "^2.0.0-beta.29",
"@tiptap/extension-bold": "^2.0.0-beta.28",
"@tiptap/extension-bullet-list": "^2.0.0-beta.29",
"@tiptap/extension-code": "^2.0.0-beta.28",
"@tiptap/extension-code-block": "^2.0.0-beta.42",
"@tiptap/extension-code-block-lowlight": "^2.0.0-beta.73",
"@tiptap/extension-document": "^2.0.0-beta.17",
"@tiptap/extension-dropcursor": "^2.0.0-beta.29",
"@tiptap/extension-hard-break": "^2.0.0-beta.33",
"@tiptap/extension-heading": "^2.0.0-beta.29",
"@tiptap/extension-history": "^2.0.0-beta.26",
"@tiptap/extension-horizontal-rule": "^2.0.0-beta.36",
"@tiptap/extension-image": "^2.0.0-beta.30",
"@tiptap/extension-italic": "^2.0.0-beta.28",
"@tiptap/extension-link": "^2.0.0-beta.43",
"@tiptap/extension-list-item": "^2.0.0-beta.23",
"@tiptap/extension-ordered-list": "^2.0.0-beta.30",
"@tiptap/extension-paragraph": "^2.0.0-beta.26",
"@tiptap/extension-placeholder": "^2.0.0-beta.53",
"@tiptap/extension-strike": "^2.0.0-beta.29",
"@tiptap/extension-table": "^2.0.0-beta.54",
"@tiptap/extension-table-cell": "^2.0.0-beta.23",
"@tiptap/extension-table-header": "^2.0.0-beta.25",
"@tiptap/extension-table-row": "^2.0.0-beta.22",
"@tiptap/extension-task-item": "^2.0.0-beta.37",
"@tiptap/extension-task-list": "^2.0.0-beta.29",
"@tiptap/extension-text": "^2.0.0-beta.17",
"@tiptap/extension-underline": "^2.0.0-beta.25",
"@tiptap/suggestion": "^2.0.0-beta.97",
"@tiptap/vue-2": "^2.0.0-beta.84",
"markdown-it": "^13.0.1",
"markdown-it-container": "^3.0.0",
"markdown-it-front-matter": "^0.2.3",
"path-normalize": "^6.0.6",
"prosemirror-collab": "^1.3.0",
"prosemirror-inputrules": "^1.2.0",
"prosemirror-markdown": "^1.9.4",
"prosemirror-model": "^1.18.1",
"prosemirror-schema-list": "^1.2.1",
"prosemirror-state": "^1.4.1",
"prosemirror-tables-contently": "^1.1.2",
"prosemirror-transform": "^1.7.0",
"prosemirror-utils": "^1.0.0-0",
"prosemirror-view": "^1.27.2",
"proxy-polyfill": "^0.3.2",
"tippy.js": "^6.3.7",
"uuid": "^8.3.2",
"vue": "^2.7.10",
"vue-click-outside": "^1.1.0",
"vue-material-design-icons": "^5.1.2",
"vuex": "^3.6.2"
},
"engines": {
"node": "^16.0.0",
"npm": "^7.0.0 || ^8.0.0"
},
"devDependencies": {
"@cypress/browserify-preprocessor": "^3.0.2",
"@cypress/webpack-preprocessor": "^5.12.2",
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^2.3.0",
"@nextcloud/eslint-config": "^8.1.2",
"@nextcloud/stylelint-config": "^2.2.0",
"@nextcloud/webpack-vue-config": "^5.3.0",
"@vitejs/plugin-vue2": "^1.1.2",
"@vue/test-utils": "^1.3.0",
"@vue/vue2-jest": "^28.1.0",
"cypress": "^10.6.0",
"cypress-file-upload": "^5.0.8",
"debounce": "^1.2.1",
"escape-html": "^1.0.3",
"eslint-plugin-cypress": "^2.12.1",
"highlight.js": "^10.7.3",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-serializer-vue": "^2.0.2",
"lowlight": "^1.20.0",
"mitt": "^3.0.0",
"vite": "^3.0.9",
"vite-plugin-commonjs": "^0.5.2",
"vue-demi": "^0.13.8",
"vue-template-compiler": "^2.7.10"
},
"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",
"\\.(html|xml|svg|md)$": "<rootDir>/jest-raw-loader.js"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
],
"setupFilesAfterEnv": [
"<rootDir>/src/tests/setup.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!vue-material-design-icons|uuid)"
]
}
}
|