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-17 15:52:16 -04:00
|
|
|
"joi": "17.10.2",
|
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",
|
2023-09-19 04:20:46 -04:00
|
|
|
"yjs": "13.6.8"
|
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-09-22 03:31:08 -04:00
|
|
|
"@types/js-yaml": "4.0.6",
|
2023-09-25 17:31:58 -04:00
|
|
|
"@types/ws": "8.5.6",
|
2023-10-02 15:05:19 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.7.4",
|
|
|
|
"@typescript-eslint/parser": "6.7.4",
|
2023-09-24 04:41:29 -04:00
|
|
|
"eslint": "8.50.0",
|
2023-08-05 18:19:32 -04:00
|
|
|
"eslint-config-prettier": "9.0.0",
|
2023-09-29 18:48:14 -04:00
|
|
|
"eslint-plugin-jest": "27.4.2",
|
2023-07-16 04:36:13 -04:00
|
|
|
"eslint-plugin-prettier": "5.0.0",
|
2023-09-12 02:58:08 -04:00
|
|
|
"jest": "29.7.0",
|
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-10-07 08:34:38 -04:00
|
|
|
"packageManager": "yarn@3.6.4"
|
2022-12-04 16:41:39 -05:00
|
|
|
}
|