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",
|
2023-09-02 07:57:38 -04:00
|
|
|
"joi": "17.10.1",
|
2023-06-20 17:33:00 -04:00
|
|
|
"js-yaml": "4.1.0",
|
2023-04-13 08:30:16 -04:00
|
|
|
"reveal.js": "4.5.0",
|
2023-03-11 14:57:47 -05:00
|
|
|
"ws": "8.13.0",
|
2023-07-18 17:39:16 -04:00
|
|
|
"yjs": "13.6.7"
|
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-06-20 17:33:00 -04:00
|
|
|
"@types/js-yaml": "4.0.5",
|
2023-06-08 17:22:46 -04:00
|
|
|
"@types/ws": "8.5.5",
|
2023-08-29 17:50:03 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.5.0",
|
|
|
|
"@typescript-eslint/parser": "6.5.0",
|
2023-08-26 02:43:39 -04:00
|
|
|
"eslint": "8.48.0",
|
2023-08-05 18:19:32 -04:00
|
|
|
"eslint-config-prettier": "9.0.0",
|
2023-07-13 13:40:25 -04:00
|
|
|
"eslint-plugin-jest": "27.2.3",
|
2023-07-16 04:36:13 -04:00
|
|
|
"eslint-plugin-prettier": "5.0.0",
|
2023-08-25 20:26:00 -04:00
|
|
|
"jest": "29.6.4",
|
2023-08-29 10:30:49 -04:00
|
|
|
"prettier": "3.0.3",
|
2023-06-30 05:50:13 -04:00
|
|
|
"ts-jest": "29.1.1",
|
2023-08-26 03:21:46 -04:00
|
|
|
"typescript": "5.2.2"
|
2022-12-04 16:41:39 -05:00
|
|
|
},
|
2023-08-26 05:03:23 -04:00
|
|
|
"packageManager": "yarn@3.6.3"
|
2022-12-04 16:41:39 -05:00
|
|
|
}
|