2022-12-04 21:41:39 +00:00
|
|
|
{
|
|
|
|
"name": "@hedgedoc/commons",
|
|
|
|
"private": true,
|
2023-07-30 12:02:14 +00:00
|
|
|
"version": "0.4.0",
|
2022-12-04 21:41:39 +00:00
|
|
|
"description": "Common code between frontend and backend",
|
|
|
|
"author": "The HedgeDoc Authors",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2023-07-30 12:02:14 +00:00
|
|
|
"build": "./build.sh",
|
2022-12-04 21:41:39 +00:00
|
|
|
"test": "jest",
|
2022-12-11 23:46:30 +00:00
|
|
|
"test:ci": "jest --ci",
|
2022-12-04 21:41:39 +00: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 12:02:14 +00:00
|
|
|
"main": "dist/cjs/index.js",
|
|
|
|
"types": "dist/cjs/index.d.ts",
|
|
|
|
"module": "./dist/esm/index.js",
|
2022-12-04 21:41:39 +00:00
|
|
|
"exports": {
|
2023-07-30 12:02:14 +00: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 21:41:39 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"LICENSES/*",
|
|
|
|
"package.json",
|
|
|
|
"README.md",
|
|
|
|
"dist/**"
|
|
|
|
],
|
2023-03-22 19:21:40 +00:00
|
|
|
"browserslist": [
|
|
|
|
"node> 12"
|
|
|
|
],
|
2022-12-04 21:41:39 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/hedgedoc/hedgedoc.git"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-08 19:31:27 +00:00
|
|
|
"domhandler": "5.0.3",
|
2023-02-09 12:39:33 +00:00
|
|
|
"eventemitter2": "6.4.9",
|
2023-05-19 09:49:29 +00:00
|
|
|
"joi": "17.9.2",
|
2023-06-20 21:33:00 +00:00
|
|
|
"js-yaml": "4.1.0",
|
2023-04-13 12:30:16 +00:00
|
|
|
"reveal.js": "4.5.0",
|
2023-03-11 19:57:47 +00:00
|
|
|
"ws": "8.13.0",
|
2023-07-18 21:39:16 +00:00
|
|
|
"yjs": "13.6.7"
|
2022-12-04 21:41:39 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-21 13:28:06 +00:00
|
|
|
"@jest/types": "29.6.3",
|
2023-07-30 09:40:51 +00:00
|
|
|
"@mrdrogdrog/optional": "1.2.1",
|
2023-06-20 21:33:00 +00:00
|
|
|
"@types/js-yaml": "4.0.5",
|
2023-06-08 21:22:46 +00:00
|
|
|
"@types/ws": "8.5.5",
|
2023-08-21 17:25:31 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.4.1",
|
|
|
|
"@typescript-eslint/parser": "6.4.1",
|
2023-08-11 17:17:58 +00:00
|
|
|
"eslint": "8.47.0",
|
2023-08-05 22:19:32 +00:00
|
|
|
"eslint-config-prettier": "9.0.0",
|
2023-07-13 17:40:25 +00:00
|
|
|
"eslint-plugin-jest": "27.2.3",
|
2023-07-16 08:36:13 +00:00
|
|
|
"eslint-plugin-prettier": "5.0.0",
|
2023-08-21 17:25:14 +00:00
|
|
|
"jest": "29.6.3",
|
2023-08-15 17:15:53 +00:00
|
|
|
"prettier": "3.0.2",
|
2023-06-30 09:50:13 +00:00
|
|
|
"ts-jest": "29.1.1",
|
2023-06-28 23:29:50 +00:00
|
|
|
"typescript": "5.1.6"
|
2022-12-04 21:41:39 +00:00
|
|
|
},
|
2023-08-19 09:10:52 +00:00
|
|
|
"packageManager": "yarn@3.6.2"
|
2022-12-04 21:41:39 +00:00
|
|
|
}
|