hedgedoc/commons/package.json
renovate[bot] 9118e11c6b chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 08:43:22 +02:00

70 lines
1.7 KiB
JSON

{
"name": "@hedgedoc/commons",
"private": true,
"version": "0.4.0",
"description": "Common code between frontend and backend",
"author": "The HedgeDoc Authors",
"license": "AGPL-3.0",
"scripts": {
"build": "./build.sh",
"test": "jest",
"test:ci": "jest --ci",
"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",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"files": [
"LICENSES/*",
"package.json",
"README.md",
"dist/**"
],
"browserslist": [
"node> 12"
],
"repository": {
"type": "git",
"url": "https://github.com/hedgedoc/hedgedoc.git"
},
"dependencies": {
"domhandler": "5.0.3",
"eventemitter2": "6.4.9",
"joi": "17.11.0",
"js-yaml": "4.1.0",
"reveal.js": "4.6.1",
"ws": "8.14.2",
"yjs": "13.6.8"
},
"devDependencies": {
"@jest/types": "29.6.3",
"@mrdrogdrog/optional": "1.2.1",
"@types/js-yaml": "4.0.8",
"@types/ws": "8.5.8",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-prettier": "5.0.1",
"jest": "29.7.0",
"prettier": "3.0.3",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
},
"packageManager": "yarn@4.0.0"
}