hedgedoc/package.json
Tilman Vatteroth 54ee492411 fix: suppress yjs double import warning
This warning should indicate that you mix cjs and mjs imports.
While this is a nice feature it has a weird side effect:
Jest triggers this check and floods the console every time a test imports yjs.
This happens between all test suites and every time you call jest.resetModules().
Nothing breaks here. Jest does what it should.
Therefore this commit suppresses this warning in test mode.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:38:20 +02:00

38 lines
1.1 KiB
JSON

{
"name": "hedgedoc",
"version": "2.0.0-dev",
"private": true,
"workspaces": [
"backend",
"frontend",
"commons",
"dev-reverse-proxy"
],
"scripts": {
"build": "dotenv -- turbo run build",
"lint": "dotenv -- turbo run lint",
"format": "dotenv -- turbo run format",
"start:dev": "dotenv -- turbo run start:dev",
"test:ci": "dotenv -- turbo run test:ci"
},
"packageManager": "yarn@3.5.0",
"resolutions": {
"domhandler": "5.0.3",
"@codemirror/state": "6.2.0",
"@codemirror/autocomplete": "6.5.0",
"@codemirror/view": "6.9.4",
"@codemirror/language": "6.6.0",
"@codemirror/commands": "6.2.2",
"@codemirror/lang-markdown": "6.1.1",
"@codemirror/language-data": "6.2.0",
"@codemirror/lint": "6.2.1",
"@codemirror/theme-one-dark": "6.1.1",
"@types/react": "18.0.35",
"eventemitter2@6.4.9": "patch:eventemitter2@npm%3A6.4.9#./.yarn/patches/eventemitter2-npm-6.4.9-ba37798a18.patch",
"yjs@13.5.52": "patch:yjs@npm%3A13.5.52#./.yarn/patches/yjs-npm-13.5.52-a5c64d9068.patch"
},
"devDependencies": {
"dotenv-cli": "7.2.1",
"turbo": "1.9.1"
}
}