noteloom 0.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/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "noteloom",
3
+ "version": "0.1.0",
4
+ "description": "Zero-runtime-dependency, React-first block/rich-text editor — Notion-style blocks, inline widgets, slash commands, undo/redo, and clipboard, with no bundled UI framework or CSS.",
5
+ "keywords": [
6
+ "react",
7
+ "editor",
8
+ "rich-text",
9
+ "block-editor",
10
+ "wysiwyg",
11
+ "contenteditable",
12
+ "notion",
13
+ "slash-commands"
14
+ ],
15
+ "license": "MIT",
16
+ "author": "Nikhil Vishwakarma",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/vishwakarmanikhil/react-block-editor.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/vishwakarmanikhil/react-block-editor/issues"
23
+ },
24
+ "homepage": "https://github.com/vishwakarmanikhil/react-block-editor#readme",
25
+ "type": "module",
26
+ "sideEffects": false,
27
+ "main": "./dist/noteloom.cjs",
28
+ "module": "./dist/noteloom.es.js",
29
+ "exports": {
30
+ ".": {
31
+ "import": "./dist/noteloom.es.js",
32
+ "require": "./dist/noteloom.cjs",
33
+ "default": "./dist/noteloom.es.js"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
37
+ "files": [
38
+ "dist"
39
+ ],
40
+ "engines": {
41
+ "node": ">=18"
42
+ },
43
+ "scripts": {
44
+ "dev": "vite --config examples/basic/vite.config.js",
45
+ "build": "vite build",
46
+ "test": "vitest run",
47
+ "prepublishOnly": "npm test && npm run build"
48
+ },
49
+ "peerDependencies": {
50
+ "react": "^18.2.0 || ^19.0.0",
51
+ "react-dom": "^18.2.0 || ^19.0.0"
52
+ },
53
+ "devDependencies": {
54
+ "@testing-library/jest-dom": "^6.4.0",
55
+ "@testing-library/react": "^16.0.0",
56
+ "@vitejs/plugin-react": "^4.3.0",
57
+ "jsdom": "^25.0.0",
58
+ "react": "^18.3.1",
59
+ "react-dom": "^18.3.1",
60
+ "vite": "^5.4.0",
61
+ "vitest": "^2.1.0"
62
+ }
63
+ }