UNPKG

jodit-react

Version:

Jodit is awesome and usefully wysiwyg editor with filebrowser

127 lines (126 loc) 3.78 kB
{ "name": "jodit-react", "version": "5.3.21", "description": "Jodit is awesome and usefully wysiwyg editor with filebrowser", "main": "build/jodit-react.js", "module": "./build/esm/index.mjs", "types": "./build/types/index.d.ts", "exports": { ".": { "import": { "types": "./build/esm/index.d.mts", "default": "./build/esm/index.mjs" }, "require": { "types": "./build/types/index.d.ts", "default": "./build/react-jodit.js" } }, "./build/types/JoditEditor": { "import": { "types": "./build/esm/JoditEditor.d.mts", "default": "./build/esm/JoditEditor.mjs" }, "require": { "types": "./build/types/JoditEditor.d.ts", "default": "./build/types/JoditEditor.js" } } }, "files": [ "build" ], "author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)", "keywords": [ "react", "jodit", "html", "text", "editor", "wysisyg", "rich editor", "rich text editor", "rte" ], "dependencies": { "jodit": "^4.9.4" }, "peerDependencies": { "react": "~0.14 || ^15 || ^16 || ^17 || ^18 || ^19", "react-dom": "~0.14 || ^15 || ^16 || ^17 || ^18 || ^19" }, "devDependencies": { "@eslint/compat": "^2.0.2", "@swc-node/register": "^1.11.1", "@swc/core": "^1.15.11", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/react": "^19.2.10", "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.54.0", "@typescript-eslint/parser": "^8.54.0", "cross-env": "^10.1.0", "css-loader": "^7.1.3", "eslint": "9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-vitest": "^0.5.4", "html-webpack-plugin": "^5.6.6", "jsdom": "^27.4.0", "prettier": "^3.8.1", "react": "^19.2.4", "react-dom": "^19.2.4", "replace": "^1.2.2", "style-loader": "^4.0.0", "swc-loader": "^0.2.7", "ts-node": "^10.9.2", "tsup": "^8.5.1", "typescript": "^5.9.3", "vitest": "^4.0.18", "webpack": "^5.104.1", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.3" }, "scripts": { "newversion": "npm version patch --no-git-tag-version && npm run github", "lint": "npm run lint:ts && npm run lint:eslint", "lint:ts": "tsc --noEmit", "lint:eslint": "eslint ./", "demo": "cross-env NODE_ENV=development node -r @swc-node/register ./node_modules/.bin/webpack serve --mode development", "start": "npm run demo", "build": "npm run build:react && npm run build:types && npm run build:esm", "build:react": "cross-env NODE_ENV=production node -r @swc-node/register ./node_modules/.bin/webpack --mode production", "build:types": "rm -rf ./build/types && tsc --project tsconfig.types.json && npm run remove-css", "build:esm": "tsup src/index.ts src/JoditEditor.tsx --dts --format esm -d ./build/esm --clean", "remove-css": "replace \"import '[^']+.css';\" \"\" ./build/**/*.ts", "github": "npm run git && git push --tags origin HEAD:main", "git": "git add --all && git commit -m \"New version $npm_package_version. Read more https://github.com/jodit/jodit-react/releases/tag/$npm_package_version \" && git tag $npm_package_version", "test": "vitest run", "test:watch": "vitest", "webpack": "./node_modules/.bin/webpack --config ./webpack.config.ts --mode production" }, "repository": { "type": "git", "url": "git+https://github.com/jodit/jodit-react.git" }, "license": "MIT", "bugs": { "url": "https://github.com/jodit/jodit-react/issues" }, "homepage": "https://xdsoft.net/jodit/", "ava": { "extensions": [ "ts", "tsx" ], "require": [ "@swc-node/register" ], "files": [ "packages/**/*.spec.{ts,tsx}" ] } }