rich-text-editor
Version:
Rich text editor
73 lines (72 loc) • 2.52 kB
JSON
{
"name": "rich-text-editor",
"version": "8.4.3",
"description": "Rich text editor",
"homepage": "https://github.com/digabi/rich-text-editor",
"types": "dist/app/index.d.ts",
"main": "dist/app/index.js",
"files": [
"dist/*",
"server/*"
],
"scripts": {
"generateMathButtons": "scripts/createMathSvg.js && prettier --write src/latexCommandsWithSvg.js",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"test:ct": "playwright test -c playwright-ct.config.ts",
"test": "npm run typecheck && npm run lint && npm run test:ct",
"build:bundle": "npx esbuild ./src/rich-text-editor-bundle.ts --outfile=./dist/rich-text-editor-bundle.js --allow-overwrite --bundle --minify",
"build:npm": "npx tsc -p ./tsconfig.build.json",
"build": "rm -rf dist && npm run build:bundle && npm run build:npm",
"dev": "esbuild --serve=localhost:1234 src/rich-text-editor-bundle.ts --outfile=dev/js/index.js --bundle --servedir=dev --watch",
"dev-server": "ts-node dev-server.ts",
"watch": "concurrently -n='ESBUILD,DEVSERVER' -c=auto 'npm run dev' 'npm run dev-server'",
"prepare": "PREPARE=true npm run test && npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/digabi/rich-text-editor.git"
},
"devDependencies": {
"@digabi/eslint-config": "^3.3.0",
"@playwright/experimental-ct-react": "^1.51.1",
"@types/node": "^22.14.1",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"buffer": "^6.0.3",
"concurrently": "^9.1.2",
"esbuild": "^0.25.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-promise": "^7.2.1",
"express": "^4.21.2",
"prettier": "^3.5.3",
"process": "^0.11.10",
"sanitize-html": "^2.16.0",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.8.3"
},
"dependencies": {
"@digabi/mathquill": "^0.10.12",
"@playwright/test": "^1.51.1",
"@types/express": "^4.17.21",
"@types/jquery": "^3.5.32",
"@types/sanitize-html": "^2.15.0",
"classnames": "^2.5.1",
"jquery": "^3.7.1",
"mathjax-node": "^2.1.1",
"styled-components": "^6.1.17"
},
"peerDependencies": {
"jquery": "^3.7.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sanitize-html": "^2.0.0"
}
}