-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.7 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "jodit-react",
"version": "5.4.14",
"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.12.2"
},
"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}"
]
}
}