2022-12-04 16:41:39 -05:00
|
|
|
{
|
|
|
|
"name": "@hedgedoc/commons",
|
|
|
|
"private": true,
|
2023-07-30 08:02:14 -04:00
|
|
|
"version": "0.4.0",
|
2022-12-04 16:41:39 -05:00
|
|
|
"description": "Common code between frontend and backend",
|
|
|
|
"author": "The HedgeDoc Authors",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2023-07-30 08:02:14 -04:00
|
|
|
"build": "./build.sh",
|
2022-12-04 16:41:39 -05:00
|
|
|
"test": "jest",
|
2022-12-11 18:46:30 -05:00
|
|
|
"test:ci": "jest --ci",
|
2022-12-04 16:41:39 -05:00
|
|
|
"prepublish": "rm -rf dist && yarn lint && yarn build && yarn test",
|
|
|
|
"lint": "eslint src --ext .ts",
|
|
|
|
"lint:fix": "eslint --fix --ext .ts src"
|
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"source": "src/index.ts",
|
2023-07-30 08:02:14 -04:00
|
|
|
"main": "dist/cjs/index.js",
|
|
|
|
"types": "dist/cjs/index.d.ts",
|
|
|
|
"module": "./dist/esm/index.js",
|
2022-12-04 16:41:39 -05:00
|
|
|
"exports": {
|
2023-07-30 08:02:14 -04:00
|
|
|
"import": {
|
|
|
|
"types": "./dist/esm/index.d.ts",
|
|
|
|
"default": "./dist/esm/index.js"
|
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./dist/cjs/index.d.ts",
|
|
|
|
"default": "./dist/cjs/index.js"
|
|
|
|
}
|
2022-12-04 16:41:39 -05:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"LICENSES/*",
|
|
|
|
"package.json",
|
|
|
|
"README.md",
|
|
|
|
"dist/**"
|
|
|
|
],
|
2023-03-22 15:21:40 -04:00
|
|
|
"browserslist": [
|
|
|
|
"node> 12"
|
|
|
|
],
|
2022-12-04 16:41:39 -05:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/hedgedoc/hedgedoc.git"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-08 15:31:27 -04:00
|
|
|
"domhandler": "5.0.3",
|
2023-02-09 07:39:33 -05:00
|
|
|
"eventemitter2": "6.4.9",
|
2024-08-29 05:00:33 -04:00
|
|
|
"joi": "17.12.3",
|
2023-06-20 17:33:00 -04:00
|
|
|
"js-yaml": "4.1.0",
|
2024-04-09 04:57:41 -04:00
|
|
|
"reveal.js": "5.0.5",
|
2024-08-28 14:28:48 -04:00
|
|
|
"ws": "8.17.1",
|
2024-08-29 01:18:26 -04:00
|
|
|
"yjs": "13.6.18"
|
2022-12-04 16:41:39 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-21 09:28:06 -04:00
|
|
|
"@jest/types": "29.6.3",
|
2023-07-30 05:40:51 -04:00
|
|
|
"@mrdrogdrog/optional": "1.2.1",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/js-yaml": "4.0.9",
|
|
|
|
"@types/ws": "8.5.10",
|
2024-02-10 10:26:48 -05:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
|
|
"@typescript-eslint/parser": "6.21.0",
|
2024-02-23 17:05:04 -05:00
|
|
|
"eslint": "8.57.0",
|
2023-12-07 14:56:11 -05:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-02-23 17:05:04 -05:00
|
|
|
"eslint-plugin-jest": "27.9.0",
|
2024-02-10 10:25:38 -05:00
|
|
|
"eslint-plugin-prettier": "5.1.3",
|
2023-09-12 02:58:08 -04:00
|
|
|
"jest": "29.7.0",
|
2024-02-10 10:25:38 -05:00
|
|
|
"prettier": "3.2.5",
|
2024-08-29 06:16:23 -04:00
|
|
|
"ts-jest": "29.2.5",
|
2023-12-07 14:28:24 -05:00
|
|
|
"typescript": "5.3.3"
|
2022-12-04 16:41:39 -05:00
|
|
|
},
|
2024-08-29 04:48:46 -04:00
|
|
|
"packageManager": "yarn@4.1.1"
|
2022-12-04 16:41:39 -05:00
|
|
|
}
|