2019-03-18 19:15:31 +03:00
|
|
|
{
|
2024-01-17 22:31:55 +03:00
|
|
|
"name": "@nextcloud/text",
|
|
|
|
"description": "Collaborative document editing",
|
2024-03-28 14:57:51 +03:00
|
|
|
"version": "4.0.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"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.2.1",
|
2024-05-04 09:12:09 +03:00
|
|
|
"@nextcloud/axios": "^2.5.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@nextcloud/browser-storage": "^0.3.0",
|
2024-04-20 05:35:24 +03:00
|
|
|
"@nextcloud/dialogs": "^5.3.1",
|
2024-05-04 10:11:39 +03:00
|
|
|
"@nextcloud/event-bus": "^3.2.0",
|
2024-04-20 06:45:13 +03:00
|
|
|
"@nextcloud/files": "^3.2.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@nextcloud/initial-state": "^2.1.0",
|
|
|
|
"@nextcloud/l10n": "^2.2.0",
|
|
|
|
"@nextcloud/logger": "^2.7.0",
|
|
|
|
"@nextcloud/moment": "^1.3.1",
|
2024-05-04 05:20:57 +03:00
|
|
|
"@nextcloud/router": "^3.0.1",
|
2024-04-13 04:30:19 +03:00
|
|
|
"@nextcloud/vue": "^8.11.2",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@quartzy/markdown-it-mentions": "^0.2.0",
|
2024-05-04 08:26:14 +03:00
|
|
|
"@tiptap/core": "^2.3.1",
|
|
|
|
"@tiptap/extension-blockquote": "^2.3.1",
|
|
|
|
"@tiptap/extension-bold": "^2.3.1",
|
|
|
|
"@tiptap/extension-bullet-list": "^2.3.1",
|
|
|
|
"@tiptap/extension-character-count": "^2.3.1",
|
|
|
|
"@tiptap/extension-code": "^2.3.1",
|
|
|
|
"@tiptap/extension-code-block": "^2.3.1",
|
|
|
|
"@tiptap/extension-code-block-lowlight": "^2.3.1",
|
|
|
|
"@tiptap/extension-collaboration": "^2.3.1",
|
|
|
|
"@tiptap/extension-collaboration-cursor": "^2.3.1",
|
|
|
|
"@tiptap/extension-document": "^2.3.1",
|
|
|
|
"@tiptap/extension-dropcursor": "^2.3.1",
|
|
|
|
"@tiptap/extension-gapcursor": "^2.3.1",
|
|
|
|
"@tiptap/extension-hard-break": "^2.3.1",
|
|
|
|
"@tiptap/extension-heading": "^2.3.1",
|
|
|
|
"@tiptap/extension-history": "^2.3.1",
|
|
|
|
"@tiptap/extension-horizontal-rule": "^2.3.1",
|
|
|
|
"@tiptap/extension-image": "^2.3.1",
|
|
|
|
"@tiptap/extension-italic": "^2.3.1",
|
|
|
|
"@tiptap/extension-link": "^2.3.1",
|
|
|
|
"@tiptap/extension-list-item": "^2.3.1",
|
|
|
|
"@tiptap/extension-mention": "^2.3.1",
|
|
|
|
"@tiptap/extension-ordered-list": "^2.3.1",
|
|
|
|
"@tiptap/extension-paragraph": "^2.3.1",
|
|
|
|
"@tiptap/extension-placeholder": "^2.3.1",
|
|
|
|
"@tiptap/extension-strike": "^2.3.1",
|
|
|
|
"@tiptap/extension-table": "^2.3.1",
|
|
|
|
"@tiptap/extension-table-cell": "^2.3.1",
|
|
|
|
"@tiptap/extension-table-header": "^2.3.1",
|
|
|
|
"@tiptap/extension-table-row": "^2.3.1",
|
|
|
|
"@tiptap/extension-task-item": "^2.3.1",
|
|
|
|
"@tiptap/extension-task-list": "^2.3.1",
|
|
|
|
"@tiptap/extension-text": "^2.3.1",
|
|
|
|
"@tiptap/extension-underline": "^2.3.1",
|
|
|
|
"@tiptap/pm": "^2.3.1",
|
|
|
|
"@tiptap/suggestion": "^2.3.1",
|
|
|
|
"@tiptap/vue-2": "^2.3.1",
|
2024-03-03 22:20:03 +03:00
|
|
|
"@vueuse/shared": "^10.9.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"debounce": "^2.0.0",
|
|
|
|
"escape-html": "^1.0.3",
|
|
|
|
"highlight.js": "^11.9.0",
|
2024-03-25 23:48:50 +03:00
|
|
|
"lib0": "^0.2.93",
|
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-03-12 00:51:00 +03:00
|
|
|
"mermaid": "^10.9.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"mitt": "^3.0.1",
|
|
|
|
"path-normalize": "^6.0.13",
|
|
|
|
"proxy-polyfill": "^0.3.2",
|
2024-03-12 00:51:14 +03:00
|
|
|
"slug": "^9.0.0",
|
2024-01-17 22:31:55 +03:00
|
|
|
"tippy.js": "^6.3.7",
|
|
|
|
"uuid": "^9.0.1",
|
|
|
|
"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-03-31 00:49:26 +03:00
|
|
|
"y-prosemirror": "^1.0.20",
|
2024-01-17 22:28:29 +03:00
|
|
|
"y-protocols": "^1.0.6",
|
2024-04-02 12:37:27 +03:00
|
|
|
"y-websocket": "^2.0.2",
|
2024-05-04 05:21:11 +03:00
|
|
|
"yjs": "^13.6.15"
|
2024-01-17 22:31:55 +03:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "^20.0.0",
|
|
|
|
"npm": "^10.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@cypress/browserify-preprocessor": "^3.0.2",
|
|
|
|
"@cypress/webpack-preprocessor": "^6.0.1",
|
|
|
|
"@nextcloud/babel-config": "^1.0.0",
|
2024-05-04 01:22:18 +03:00
|
|
|
"@nextcloud/browserslist-config": "^3.0.1",
|
2024-01-17 22:31:55 +03:00
|
|
|
"@nextcloud/cypress": "^1.0.0-beta.7",
|
|
|
|
"@nextcloud/eslint-config": "^8.3.0",
|
2024-01-24 12:05:53 +03:00
|
|
|
"@nextcloud/stylelint-config": "^2.4.0",
|
2024-02-19 12:26:46 +03:00
|
|
|
"@nextcloud/webpack-vue-config": "^6.0.1",
|
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-03-03 22:20:03 +03:00
|
|
|
"@vueuse/core": "^10.9.0",
|
2024-01-27 12:26:27 +03:00
|
|
|
"cypress": "^13.6.3",
|
2024-05-04 01:22:44 +03:00
|
|
|
"cypress-split": "^1.23.1",
|
2024-02-26 14:05:58 +03:00
|
|
|
"cypress-visual-regression": "^5.0.0",
|
2024-04-20 04:26:42 +03:00
|
|
|
"eslint-plugin-cypress": "^2.15.2",
|
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-05-04 02:21:41 +03:00
|
|
|
"vite": "^5.2.11",
|
2024-01-17 22:31:55 +03:00
|
|
|
"vite-plugin-commonjs": "^0.10.1",
|
2024-02-03 09:17:17 +03:00
|
|
|
"vue-demi": "^0.14.7",
|
2024-01-17 22:31:55 +03:00
|
|
|
"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": []
|
|
|
|
}
|
2019-03-18 19:15:31 +03:00
|
|
|
}
|