2019-03-18 19:15:31 +03:00
|
|
|
{
|
2024-02-06 20:31:38 +03:00
|
|
|
"name": "text",
|
2024-01-17 22:31:55 +03:00
|
|
|
"description": "Collaborative document editing",
|
2024-08-14 13:44:22 +03:00
|
|
|
"version": "5.0.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "Julius Härtl",
|
|
|
|
"email": "jus@bitgrid.net",
|
|
|
|
"role": "Developer"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"license": "agpl",
|
2024-02-06 20:31:38 +03:00
|
|
|
"type": "module",
|
2024-01-17 22:31:55 +03:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"module": "dist/index.js",
|
|
|
|
"main": "dist/index.js",
|
|
|
|
"scripts": {
|
2024-05-14 00:51:08 +03:00
|
|
|
"build": "NODE_OPTIONS='--max-old-space-size=4096' vite --mode production build",
|
|
|
|
"dev": "NODE_OPTIONS='--max-old-space-size=4096' vite --mode development build",
|
2024-06-24 19:05:23 +03:00
|
|
|
"watch": "NODE_OPTIONS='--max-old-space-size=8192' vite --mode development build --watch",
|
2024-03-12 19:32:06 +03:00
|
|
|
"lint": "tsc && eslint --ext .js,.vue src cypress",
|
|
|
|
"lint:fix": "tsc && eslint --ext .js,.vue src cypress --fix",
|
2024-01-17 22:31:55 +03:00
|
|
|
"stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css css/*.scss",
|
|
|
|
"stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css css/*.scss --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": {
|
|
|
|
"@hedgedoc/markdown-it-task-lists": "^2.0.1",
|
|
|
|
"@mdi/svg": "^7.4.47",
|
2024-08-17 09:06:20 +03:00
|
|
|
"@nextcloud/auth": "^2.4.0",
|
2024-05-04 09:12:09 +03:00
|
|
|
"@nextcloud/axios": "^2.5.0",
|
2024-05-04 10:25:20 +03:00
|
|
|
"@nextcloud/browser-storage": "^0.4.0",
|
2024-08-17 13:30:51 +03:00
|
|
|
"@nextcloud/dialogs": "^6.0.0",
|
2024-05-28 03:30:44 +03:00
|
|
|
"@nextcloud/event-bus": "^3.3.1",
|
2024-09-07 01:32:46 +03:00
|
|
|
"@nextcloud/files": "^3.9.0",
|
2024-05-04 12:02:26 +03:00
|
|
|
"@nextcloud/initial-state": "^2.2.0",
|
2024-05-09 01:34:41 +03:00
|
|
|
"@nextcloud/l10n": "^3.1.0",
|
2024-05-18 07:06:07 +03:00
|
|
|
"@nextcloud/logger": "^3.0.2",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@nextcloud/moment": "^1.3.1",
|
2023-07-26 21:35:16 +03:00
|
|
|
"@nextcloud/notify_push": "^1.3.0",
|
2024-05-04 05:20:57 +03:00
|
|
|
"@nextcloud/router": "^3.0.1",
|
2024-09-09 11:26:27 +03:00
|
|
|
"@nextcloud/sharing": "^0.2.3",
|
2024-08-31 03:56:13 +03:00
|
|
|
"@nextcloud/vue": "^8.17.1",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@quartzy/markdown-it-mentions": "^0.2.0",
|
2024-08-24 03:07:38 +03:00
|
|
|
"@tiptap/core": "^2.6.6",
|
|
|
|
"@tiptap/extension-blockquote": "^2.6.6",
|
|
|
|
"@tiptap/extension-bold": "^2.6.6",
|
|
|
|
"@tiptap/extension-bullet-list": "^2.6.6",
|
|
|
|
"@tiptap/extension-character-count": "^2.6.6",
|
|
|
|
"@tiptap/extension-code": "^2.6.6",
|
|
|
|
"@tiptap/extension-code-block": "^2.6.6",
|
|
|
|
"@tiptap/extension-code-block-lowlight": "^2.6.6",
|
|
|
|
"@tiptap/extension-collaboration": "^2.6.6",
|
|
|
|
"@tiptap/extension-collaboration-cursor": "^2.6.6",
|
|
|
|
"@tiptap/extension-document": "^2.6.6",
|
|
|
|
"@tiptap/extension-dropcursor": "^2.6.6",
|
|
|
|
"@tiptap/extension-gapcursor": "^2.6.6",
|
|
|
|
"@tiptap/extension-hard-break": "^2.6.6",
|
|
|
|
"@tiptap/extension-heading": "^2.6.6",
|
|
|
|
"@tiptap/extension-history": "^2.6.6",
|
|
|
|
"@tiptap/extension-horizontal-rule": "^2.6.6",
|
|
|
|
"@tiptap/extension-image": "^2.6.6",
|
|
|
|
"@tiptap/extension-italic": "^2.6.6",
|
|
|
|
"@tiptap/extension-link": "^2.6.6",
|
|
|
|
"@tiptap/extension-list-item": "^2.6.6",
|
|
|
|
"@tiptap/extension-mention": "^2.6.6",
|
|
|
|
"@tiptap/extension-ordered-list": "^2.6.6",
|
|
|
|
"@tiptap/extension-paragraph": "^2.6.6",
|
|
|
|
"@tiptap/extension-placeholder": "^2.6.6",
|
|
|
|
"@tiptap/extension-strike": "^2.6.6",
|
|
|
|
"@tiptap/extension-table": "^2.6.6",
|
|
|
|
"@tiptap/extension-table-cell": "^2.6.6",
|
|
|
|
"@tiptap/extension-table-header": "^2.6.6",
|
|
|
|
"@tiptap/extension-table-row": "^2.6.6",
|
|
|
|
"@tiptap/extension-task-item": "^2.6.6",
|
|
|
|
"@tiptap/extension-task-list": "^2.6.6",
|
|
|
|
"@tiptap/extension-text": "^2.6.6",
|
|
|
|
"@tiptap/extension-underline": "^2.6.6",
|
|
|
|
"@tiptap/pm": "^2.6.6",
|
|
|
|
"@tiptap/suggestion": "^2.6.6",
|
|
|
|
"@tiptap/vue-2": "^2.6.6",
|
2024-08-24 23:01:38 +03:00
|
|
|
"@vueuse/shared": "^11.0.3",
|
2024-06-08 11:26:58 +03:00
|
|
|
"debounce": "^2.1.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"escape-html": "^1.0.3",
|
2024-07-13 09:29:48 +03:00
|
|
|
"highlight.js": "^11.10.0",
|
2024-08-17 04:25:25 +03:00
|
|
|
"lib0": "^0.2.97",
|
2024-01-17 22:31:55 +03:00
|
|
|
"lowlight": "^2.9.0",
|
|
|
|
"markdown-it": "^13.0.2",
|
|
|
|
"markdown-it-container": "^4.0.0",
|
2024-04-04 12:53:45 +03:00
|
|
|
"markdown-it-front-matter": "^0.2.4",
|
2024-01-17 22:31:55 +03:00
|
|
|
"markdown-it-image-figures": "^2.1.1",
|
2024-09-09 16:58:09 +03:00
|
|
|
"mermaid": "^11.2.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"mitt": "^3.0.1",
|
|
|
|
"path-normalize": "^6.0.13",
|
|
|
|
"proxy-polyfill": "^0.3.2",
|
2024-06-08 12:59:26 +03:00
|
|
|
"slug": "^9.1.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"tippy.js": "^6.3.7",
|
2024-06-15 10:41:20 +03:00
|
|
|
"uuid": "^10.0.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"vue": "^2.7.16",
|
|
|
|
"vue-click-outside": "^1.1.0",
|
2024-02-03 12:09:40 +03:00
|
|
|
"vue-material-design-icons": "^5.3.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"vuex": "^3.6.2",
|
2024-08-13 18:02:13 +03:00
|
|
|
"y-prosemirror": "^1.2.12",
|
2024-01-17 22:28:29 +03:00
|
|
|
"y-protocols": "^1.0.6",
|
2024-07-24 15:52:44 +03:00
|
|
|
"y-websocket": "^2.0.4",
|
2024-06-29 10:32:48 +03:00
|
|
|
"yjs": "^13.6.18"
|
2024-01-17 22:31:55 +03:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "^20.0.0",
|
|
|
|
"npm": "^10.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-05-18 14:51:58 +03:00
|
|
|
"@nextcloud/babel-config": "^1.2.0",
|
2024-05-04 01:22:18 +03:00
|
|
|
"@nextcloud/browserslist-config": "^3.0.1",
|
2024-05-04 13:19:29 +03:00
|
|
|
"@nextcloud/cypress": "^1.0.0-beta.8",
|
2024-05-18 14:52:40 +03:00
|
|
|
"@nextcloud/eslint-config": "^8.4.1",
|
2024-05-06 21:31:13 +03:00
|
|
|
"@nextcloud/stylelint-config": "^3.0.1",
|
2024-08-14 19:36:45 +03:00
|
|
|
"@nextcloud/vite-config": "^1.4.2",
|
2024-08-31 01:40:09 +03:00
|
|
|
"@types/markdown-it": "^13.0.9",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@vitejs/plugin-vue2": "^2.3.1",
|
|
|
|
"@vue/test-utils": "^1.3.0 <2",
|
2024-02-13 18:56:12 +03:00
|
|
|
"@vue/tsconfig": "^0.5.1",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@vue/vue2-jest": "^29.2.6",
|
2024-08-24 23:01:38 +03:00
|
|
|
"@vueuse/core": "^11.0.3",
|
2024-08-05 12:39:01 +03:00
|
|
|
"cypress": "^13.6.4",
|
2024-06-08 06:17:29 +03:00
|
|
|
"cypress-split": "^1.24.0",
|
2024-09-06 18:12:02 +03:00
|
|
|
"cypress-visual-regression": "^5.2.1",
|
2024-05-14 12:36:56 +03:00
|
|
|
"cypress-vite": "^1.5.0",
|
2024-08-17 06:25:20 +03:00
|
|
|
"eslint-plugin-cypress": "^3.5.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"jest": "^29.7.0",
|
|
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
|
|
"jest-serializer-vue": "^3.1.0",
|
|
|
|
"prosemirror-test-builder": "^1.1.1",
|
|
|
|
"raw-loader": "^4.0.2",
|
2024-08-31 03:56:00 +03:00
|
|
|
"rollup-plugin-webpack-stats": "^1.0.3",
|
2024-08-24 01:07:30 +03:00
|
|
|
"ts-jest": "^29.2.5",
|
2024-07-23 12:27:43 +03:00
|
|
|
"typescript": "^5.5.4",
|
2024-09-07 01:32:35 +03:00
|
|
|
"vite": "^5.4.3",
|
2024-01-17 22:31:55 +03:00
|
|
|
"vite-plugin-commonjs": "^0.10.1",
|
2024-07-25 21:48:18 +03:00
|
|
|
"vue-demi": "^0.14.10",
|
2024-01-17 22:31:55 +03:00
|
|
|
"vue-template-compiler": "^2.7.16"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"verbose": true,
|
|
|
|
"testEnvironment": "jest-environment-jsdom",
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
2024-03-12 20:32:52 +03:00
|
|
|
"ts",
|
2024-01-17 22:31:55 +03:00
|
|
|
"vue",
|
|
|
|
"md",
|
|
|
|
"html"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^@/(.*)$": "<rootDir>/src/$1",
|
|
|
|
"^.+\\.(css|less|scss)$": "identity-obj-proxy",
|
|
|
|
"^.+\\.svg(\\?raw)?$": "<rootDir>/src/tests/__mocks__/svg.js",
|
|
|
|
"^.+\\.s?css(\\?raw)?$": "<rootDir>/src/tests/__mocks__/css.js"
|
|
|
|
},
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"<rootDir>/src/tests/fixtures/",
|
|
|
|
"<rootDir>/build",
|
|
|
|
"<rootDir>/cypress"
|
|
|
|
],
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
|
|
|
|
"^.+\\.mjs$": "<rootDir>/node_modules/babel-jest",
|
|
|
|
".*\\.(vue)$": "<rootDir>/node_modules/@vue/vue2-jest",
|
2024-03-12 20:32:52 +03:00
|
|
|
"^.+\\.(html|xml|md)$": "<rootDir>/jest-raw-loader.cjs",
|
|
|
|
"\\.ts$": [
|
|
|
|
"ts-jest",
|
|
|
|
{
|
|
|
|
"useESM": true,
|
|
|
|
"tsconfig": {
|
|
|
|
"verbatimModuleSyntax": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2024-01-17 22:31:55 +03:00
|
|
|
},
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"<rootDir>/node_modules/jest-serializer-vue"
|
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
2024-02-06 20:31:38 +03:00
|
|
|
"<rootDir>/src/tests/setup.mjs"
|
2024-01-17 22:31:55 +03:00
|
|
|
],
|
|
|
|
"transformIgnorePatterns": []
|
2024-02-06 20:31:38 +03:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2024-08-31 01:39:54 +03:00
|
|
|
"@rollup/rollup-linux-x64-gnu": "^4.21.2"
|
2024-01-17 22:31:55 +03:00
|
|
|
}
|
2019-03-18 19:15:31 +03:00
|
|
|
}
|