flowtext-editor 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,79 @@
1
+ {
2
+ "name": "flowtext-editor",
3
+ "version": "0.1.0",
4
+ "description": "A reusable, framework-agnostic Email Rich Text Editor React component.",
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "author": "",
10
+ "type": "module",
11
+ "sideEffects": [
12
+ "**/*.css"
13
+ ],
14
+ "main": "./dist/index.cjs",
15
+ "module": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/index.js",
21
+ "require": "./dist/index.cjs"
22
+ },
23
+ "./styles.css": "./dist/flowtext-editor.css",
24
+ "./package.json": "./package.json"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "README.md"
29
+ ],
30
+ "engines": {
31
+ "node": ">=20.19.0"
32
+ },
33
+ "scripts": {
34
+ "dev": "vite --config playground/vite.config.ts",
35
+ "build": "npm run typecheck && vite build",
36
+ "build:playground": "vite build --config playground/vite.config.ts",
37
+ "preview": "vite preview --config playground/vite.config.ts",
38
+ "typecheck": "tsc --noEmit -p tsconfig.app.json && tsc --noEmit -p tsconfig.node.json",
39
+ "lint": "eslint .",
40
+ "lint:fix": "eslint . --fix",
41
+ "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
42
+ "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
43
+ "clean": "rimraf dist",
44
+ "prepublishOnly": "npm run clean && npm run lint && npm run build"
45
+ },
46
+ "peerDependencies": {
47
+ "react": "^18.2.0 || ^19.0.0",
48
+ "react-dom": "^18.2.0 || ^19.0.0"
49
+ },
50
+ "devDependencies": {
51
+ "@eslint/js": "^9.31.0",
52
+ "@microsoft/api-extractor": "^7.52.8",
53
+ "@types/node": "^24.0.10",
54
+ "@types/react": "^19.1.8",
55
+ "@types/react-dom": "^19.1.6",
56
+ "@vitejs/plugin-react": "^5.0.0",
57
+ "eslint": "^9.31.0",
58
+ "eslint-config-prettier": "^10.1.5",
59
+ "eslint-plugin-react-hooks": "^5.2.0",
60
+ "eslint-plugin-react-refresh": "^0.4.20",
61
+ "globals": "^16.3.0",
62
+ "prettier": "^3.6.2",
63
+ "react": "^19.1.0",
64
+ "react-dom": "^19.1.0",
65
+ "rimraf": "^6.0.1",
66
+ "typescript": "^5.8.3",
67
+ "typescript-eslint": "^8.37.0",
68
+ "vite": "^7.0.0",
69
+ "vite-plugin-dts": "^4.5.4"
70
+ },
71
+ "keywords": [
72
+ "react",
73
+ "rich-text-editor",
74
+ "wysiwyg",
75
+ "email-editor",
76
+ "contenteditable",
77
+ "typescript"
78
+ ]
79
+ }