@noseberry/nbd-editor 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -14
- package/dist/nbd-editor.cjs.js +1 -1
- package/dist/nbd-editor.cjs.js.map +1 -1
- package/dist/nbd-editor.css +1 -1
- package/dist/nbd-editor.d.ts +151 -4
- package/dist/nbd-editor.esm.js +1 -1
- package/dist/nbd-editor.esm.js.map +1 -1
- package/dist/nbd-editor.umd.js +1 -1
- package/dist/nbd-editor.umd.js.map +1 -1
- package/package.json +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noseberry/nbd-editor",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Nbd Editor: a framework-agnostic rich content editor by Noseberry Private Limited.",
|
|
5
5
|
"main": "dist/nbd-editor.cjs.js",
|
|
6
6
|
"module": "dist/nbd-editor.esm.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"build": "rollup -c",
|
|
27
27
|
"dev": "rollup -c -w",
|
|
28
28
|
"lint": "echo \"No lint config yet\" && exit 0",
|
|
29
|
-
"test": "
|
|
29
|
+
"test": "jest --passWithNoTests",
|
|
30
30
|
"prepare": "if [ -d node_modules/rollup ]; then npm run build; fi",
|
|
31
31
|
"prepublishOnly": "npm run build"
|
|
32
32
|
},
|
|
@@ -42,7 +42,10 @@
|
|
|
42
42
|
"author": "Dev team",
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"devDependencies": {
|
|
45
|
+
"@jest/globals": "^30.2.0",
|
|
45
46
|
"@rollup/plugin-terser": "^0.4.4",
|
|
47
|
+
"jest": "^30.2.0",
|
|
48
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
46
49
|
"postcss": "^8.5.6",
|
|
47
50
|
"rollup": "^4.9.0",
|
|
48
51
|
"rollup-plugin-postcss": "^4.0.2"
|
|
@@ -52,11 +55,15 @@
|
|
|
52
55
|
"url": "git+https://github.com/Noseberry-Private-Limited/NBD-editor.git"
|
|
53
56
|
},
|
|
54
57
|
"peerDependencies": {
|
|
55
|
-
"react": ">=17"
|
|
58
|
+
"react": ">=17",
|
|
59
|
+
"isomorphic-dompurify": ">=2.0.0"
|
|
56
60
|
},
|
|
57
61
|
"peerDependenciesMeta": {
|
|
58
62
|
"react": {
|
|
59
63
|
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"isomorphic-dompurify": {
|
|
66
|
+
"optional": true
|
|
60
67
|
}
|
|
61
68
|
}
|
|
62
69
|
}
|