text/package.json

183 строки
6.1 KiB
JSON

{
"name": "@nextcloud/text",
"description": "Collaborative document editing",
"version": "3.10.0",
"authors": [
{
"name": "Julius Härtl",
"email": "jus@bitgrid.net",
"role": "Developer"
}
],
"license": "agpl",
"files": [
"dist"
],
"module": "dist/index.js",
"main": "dist/index.js",
"scripts": {
"build": "webpack --node-env production --progress",
"dev:package": "vite",
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
"stats": "webpack --node-env production --json webpack-stats.json",
"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 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.1",
"@nextcloud/browser-storage": "^0.4.0",
"@nextcloud/dialogs": "^5.3.8",
"@nextcloud/event-bus": "^3.3.1",
"@nextcloud/files": "^3.9.1",
"@nextcloud/initial-state": "^2.2.0",
"@nextcloud/l10n": "^2.2.0",
"@nextcloud/logger": "^2.7.0",
"@nextcloud/moment": "^1.3.1",
"@nextcloud/router": "^3.0.1",
"@nextcloud/vue": "^8.19.0",
"@quartzy/markdown-it-mentions": "^0.2.0",
"@tiptap/core": "^2.3.2",
"@tiptap/extension-blockquote": "^2.3.2",
"@tiptap/extension-bold": "^2.3.2",
"@tiptap/extension-bullet-list": "^2.3.2",
"@tiptap/extension-character-count": "^2.3.2",
"@tiptap/extension-code": "^2.3.2",
"@tiptap/extension-code-block": "^2.3.2",
"@tiptap/extension-code-block-lowlight": "^2.3.2",
"@tiptap/extension-collaboration": "^2.3.2",
"@tiptap/extension-collaboration-cursor": "^2.3.2",
"@tiptap/extension-document": "^2.3.2",
"@tiptap/extension-dropcursor": "^2.3.2",
"@tiptap/extension-gapcursor": "^2.3.2",
"@tiptap/extension-hard-break": "^2.3.2",
"@tiptap/extension-heading": "^2.3.2",
"@tiptap/extension-history": "^2.3.2",
"@tiptap/extension-horizontal-rule": "^2.3.2",
"@tiptap/extension-image": "^2.3.2",
"@tiptap/extension-italic": "^2.3.2",
"@tiptap/extension-link": "^2.3.2",
"@tiptap/extension-list-item": "^2.3.2",
"@tiptap/extension-mention": "^2.3.2",
"@tiptap/extension-ordered-list": "^2.3.2",
"@tiptap/extension-paragraph": "^2.3.2",
"@tiptap/extension-placeholder": "^2.3.2",
"@tiptap/extension-strike": "^2.3.2",
"@tiptap/extension-table": "^2.3.2",
"@tiptap/extension-table-cell": "^2.3.2",
"@tiptap/extension-table-header": "^2.3.2",
"@tiptap/extension-table-row": "^2.3.2",
"@tiptap/extension-task-item": "^2.3.2",
"@tiptap/extension-task-list": "^2.3.2",
"@tiptap/extension-text": "^2.3.2",
"@tiptap/extension-underline": "^2.3.2",
"@tiptap/pm": "^2.3.2",
"@tiptap/suggestion": "^2.3.2",
"@tiptap/vue-2": "^2.3.2",
"@vueuse/shared": "^10.11.1",
"debounce": "^2.2.0",
"escape-html": "^1.0.3",
"highlight.js": "^11.10.0",
"lib0": "^0.2.98",
"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": "^10.9.3",
"mitt": "^3.0.1",
"path-normalize": "^6.0.13",
"proxy-polyfill": "^0.3.2",
"slug": "^9.1.0",
"tippy.js": "^6.3.7",
"uuid": "^9.0.1",
"vue": "^2.7.16",
"vue-click-outside": "^1.1.0",
"vue-material-design-icons": "^5.3.1",
"vuex": "^3.6.2",
"y-prosemirror": "^1.2.12",
"y-protocols": "^1.0.6",
"yjs": "^13.6.20"
},
"engines": {
"node": "^20.0.0",
"npm": "^10.0.0"
},
"devDependencies": {
"@cypress/browserify-preprocessor": "^3.0.2",
"@cypress/webpack-preprocessor": "^6.0.2",
"@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": "^2.4.0",
"@nextcloud/webpack-vue-config": "~6.0.1",
"@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": "^10.11.1",
"cypress": "13.6.4",
"cypress-split": "^1.24.5",
"cypress-visual-regression": "^5.2.2",
"eslint-plugin-cypress": "^2.15.2",
"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",
"vite": "^5.4.11",
"vite-plugin-commonjs": "^0.10.3",
"vue-demi": "^0.14.10",
"vue-template-compiler": "^2.7.16"
},
"jest": {
"verbose": true,
"testEnvironment": "jest-environment-jsdom",
"moduleFileExtensions": [
"js",
"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.js"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
],
"setupFilesAfterEnv": [
"<rootDir>/src/tests/setup.js"
],
"transformIgnorePatterns": []
}
}