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-01-25 02:17:44 -05:00
|
|
|
"joi": "17.11.1",
|
2023-06-20 17:33:00 -04:00
|
|
|
"js-yaml": "4.1.0",
|
2023-09-20 02:56:27 -04:00
|
|
|
"reveal.js": "4.6.1",
|
2023-09-19 14:46:25 -04:00
|
|
|
"ws": "8.14.2",
|
2024-01-24 16:54:34 -05:00
|
|
|
"yjs": "13.6.11"
|
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",
|
2023-12-04 13:32:19 -05:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.13.2",
|
|
|
|
"@typescript-eslint/parser": "6.13.2",
|
2023-12-07 14:56:11 -05:00
|
|
|
"eslint": "8.55.0",
|
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-01-24 20:39:19 -05:00
|
|
|
"eslint-plugin-jest": "27.6.3",
|
2023-10-11 00:01:53 -04:00
|
|
|
"eslint-plugin-prettier": "5.0.1",
|
2023-09-12 02:58:08 -04:00
|
|
|
"jest": "29.7.0",
|
2024-01-24 20:39:19 -05:00
|
|
|
"prettier": "3.1.1",
|
2024-01-24 23:01:00 -05:00
|
|
|
"ts-jest": "29.1.2",
|
2023-12-07 14:28:24 -05:00
|
|
|
"typescript": "5.3.3"
|
2022-12-04 16:41:39 -05:00
|
|
|
},
|
2023-12-03 04:00:53 -05:00
|
|
|
"packageManager": "yarn@4.0.2"
|
2022-12-04 16:41:39 -05:00
|
|
|
}
|