зеркало из https://github.com/nextcloud/text.git
200 строки
6.5 KiB
JSON
200 строки
6.5 KiB
JSON
{
|
|
"name": "text",
|
|
"description": "Collaborative document editing",
|
|
"version": "5.0.0",
|
|
"authors": [
|
|
{
|
|
"name": "Julius Härtl",
|
|
"email": "jus@bitgrid.net",
|
|
"role": "Developer"
|
|
}
|
|
],
|
|
"license": "agpl",
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"module": "dist/index.js",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "NODE_OPTIONS='--max-old-space-size=4096' vite --mode production build",
|
|
"dev": "NODE_OPTIONS='--max-old-space-size=4096' vite --mode development build",
|
|
"watch": "NODE_OPTIONS='--max-old-space-size=8192' vite --mode development build --watch",
|
|
"lint": "tsc && eslint --ext .js,.vue src cypress",
|
|
"lint:fix": "tsc && eslint --ext .js,.vue src cypress --fix",
|
|
"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",
|
|
"@nextcloud/auth": "^2.4.0",
|
|
"@nextcloud/axios": "^2.5.0",
|
|
"@nextcloud/browser-storage": "^0.4.0",
|
|
"@nextcloud/dialogs": "^6.0.0",
|
|
"@nextcloud/event-bus": "^3.3.1",
|
|
"@nextcloud/files": "^3.9.0",
|
|
"@nextcloud/initial-state": "^2.2.0",
|
|
"@nextcloud/l10n": "^3.1.0",
|
|
"@nextcloud/logger": "^3.0.2",
|
|
"@nextcloud/moment": "^1.3.1",
|
|
"@nextcloud/notify_push": "^1.3.0",
|
|
"@nextcloud/router": "^3.0.1",
|
|
"@nextcloud/sharing": "^0.2.3",
|
|
"@nextcloud/vue": "^8.18.0",
|
|
"@quartzy/markdown-it-mentions": "^0.2.0",
|
|
"@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",
|
|
"@vueuse/shared": "^11.0.3",
|
|
"debounce": "^2.1.1",
|
|
"escape-html": "^1.0.3",
|
|
"highlight.js": "^11.10.0",
|
|
"lib0": "^0.2.97",
|
|
"lowlight": "^2.9.0",
|
|
"markdown-it": "^13.0.2",
|
|
"markdown-it-container": "^4.0.0",
|
|
"markdown-it-front-matter": "^0.2.4",
|
|
"markdown-it-image-figures": "^2.1.1",
|
|
"mermaid": "^11.2.0",
|
|
"mitt": "^3.0.1",
|
|
"path-normalize": "^6.0.13",
|
|
"proxy-polyfill": "^0.3.2",
|
|
"slug": "^9.1.0",
|
|
"tippy.js": "^6.3.7",
|
|
"uuid": "^10.0.0",
|
|
"vue": "^2.7.16",
|
|
"vue-click-outside": "^1.1.0",
|
|
"vue-material-design-icons": "^5.3.0",
|
|
"vuex": "^3.6.2",
|
|
"y-prosemirror": "^1.2.12",
|
|
"y-protocols": "^1.0.6",
|
|
"y-websocket": "^2.0.4",
|
|
"yjs": "^13.6.19"
|
|
},
|
|
"engines": {
|
|
"node": "^20.0.0",
|
|
"npm": "^10.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nextcloud/babel-config": "^1.2.0",
|
|
"@nextcloud/browserslist-config": "^3.0.1",
|
|
"@nextcloud/cypress": "^1.0.0-beta.8",
|
|
"@nextcloud/eslint-config": "^8.4.1",
|
|
"@nextcloud/stylelint-config": "^3.0.1",
|
|
"@nextcloud/vite-config": "^1.4.2",
|
|
"@types/markdown-it": "^13.0.9",
|
|
"@vitejs/plugin-vue2": "^2.3.1",
|
|
"@vue/test-utils": "^1.3.0 <2",
|
|
"@vue/tsconfig": "^0.5.1",
|
|
"@vue/vue2-jest": "^29.2.6",
|
|
"@vueuse/core": "^11.0.3",
|
|
"cypress": "^13.6.4",
|
|
"cypress-split": "^1.24.0",
|
|
"cypress-visual-regression": "^5.2.1",
|
|
"cypress-vite": "^1.5.0",
|
|
"eslint-plugin-cypress": "^3.5.0",
|
|
"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",
|
|
"rollup-plugin-webpack-stats": "^1.0.3",
|
|
"ts-jest": "^29.2.5",
|
|
"typescript": "^5.6.2",
|
|
"vite": "^5.4.5",
|
|
"vite-plugin-commonjs": "^0.10.1",
|
|
"vue-demi": "^0.14.10",
|
|
"vue-template-compiler": "^2.7.16"
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"testEnvironment": "jest-environment-jsdom",
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"ts",
|
|
"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",
|
|
"^.+\\.(html|xml|md)$": "<rootDir>/jest-raw-loader.cjs",
|
|
"\\.ts$": [
|
|
"ts-jest",
|
|
{
|
|
"useESM": true,
|
|
"tsconfig": {
|
|
"verbatimModuleSyntax": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"snapshotSerializers": [
|
|
"<rootDir>/node_modules/jest-serializer-vue"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/src/tests/setup.mjs"
|
|
],
|
|
"transformIgnorePatterns": []
|
|
},
|
|
"optionalDependencies": {
|
|
"@rollup/rollup-linux-x64-gnu": "^4.21.3"
|
|
}
|
|
}
|