2022-12-04 16:41:39 -05:00
|
|
|
{
|
|
|
|
"name": "@hedgedoc/commons",
|
|
|
|
"private": true,
|
|
|
|
"version": "0.3.0",
|
|
|
|
"description": "Common code between frontend and backend",
|
|
|
|
"author": "The HedgeDoc Authors",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
|
|
|
"build": "rm -rf dist && microbundle",
|
|
|
|
"build:watch": "rm -rf dist && microbundle -w",
|
|
|
|
"test": "jest",
|
|
|
|
"prepublish": "rm -rf dist && yarn lint && yarn build && yarn test",
|
|
|
|
"lint": "eslint src --ext .ts",
|
|
|
|
"lint:fix": "eslint --fix --ext .ts src"
|
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"main": "dist/index.cjs",
|
|
|
|
"module": "dist/index.mjs",
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"source": "src/index.ts",
|
|
|
|
"exports": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.mjs",
|
|
|
|
"require": "./dist/index.cjs"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"LICENSES/*",
|
|
|
|
"package.json",
|
|
|
|
"README.md",
|
|
|
|
"dist/**"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/hedgedoc/hedgedoc.git"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"eventemitter2": "^6.4.9",
|
|
|
|
"isomorphic-ws": "^5.0.0",
|
|
|
|
"lib0": "^0.2.51",
|
|
|
|
"ws": "^8.0.0",
|
|
|
|
"y-protocols": "^1.0.0",
|
2023-01-01 13:07:48 -05:00
|
|
|
"yjs": "13.5.44"
|
2022-12-04 16:41:39 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@jest/types": "29.3.1",
|
2022-12-30 04:48:44 -05:00
|
|
|
"@types/ws": "8.5.4",
|
2023-01-07 16:03:05 -05:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.48.0",
|
|
|
|
"@typescript-eslint/parser": "5.48.0",
|
2022-12-31 04:40:45 -05:00
|
|
|
"eslint": "8.31.0",
|
2023-01-02 15:03:02 -05:00
|
|
|
"eslint-config-prettier": "8.6.0",
|
2023-01-07 05:01:28 -05:00
|
|
|
"eslint-plugin-jest": "27.2.1",
|
2022-12-04 16:41:39 -05:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
|
|
"jest": "29.3.1",
|
|
|
|
"microbundle": "0.15.1",
|
2023-01-07 16:47:52 -05:00
|
|
|
"prettier": "2.8.2",
|
2022-12-04 16:41:39 -05:00
|
|
|
"ts-jest": "29.0.3",
|
|
|
|
"typescript": "4.9.3"
|
|
|
|
},
|
2022-12-24 04:39:27 -05:00
|
|
|
"packageManager": "yarn@3.3.1"
|
2022-12-04 16:41:39 -05:00
|
|
|
}
|