@yext/visual-editor 0.0.1

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,108 @@
1
+ {
2
+ "name": "@yext/visual-editor",
3
+ "description": "Component library for Yext Pages Visual Editor",
4
+ "version": "0.0.1",
5
+ "type": "module",
6
+ "author": "sumo@yext.com",
7
+ "types": "dist/index.d.ts",
8
+ "main": "dist/visual-editor.cjs",
9
+ "module": "dist/visual-editor.js",
10
+ "sideEffects": false,
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/visual-editor.js"
19
+ },
20
+ "require": {
21
+ "types": "./dist/index.d.cts",
22
+ "default": "./dist/visual-editor.cjs"
23
+ }
24
+ },
25
+ "./style.css": "./dist/style.css"
26
+ },
27
+ "scripts": {
28
+ "build": "tsc && vite build",
29
+ "test": "vitest run",
30
+ "prettier": "prettier --write --cache .",
31
+ "lint": "eslint --cache --fix src/ scripts/",
32
+ "autofix": "pnpm run lint && pnpm run prettier",
33
+ "ci-publish": "tsx scripts/publishCI.ts",
34
+ "release": "tsx scripts/release.ts",
35
+ "prepare": "husky && pnpm build",
36
+ "generate-notices": "generate-license-file"
37
+ },
38
+ "dependencies": {
39
+ "@measured/puck": "0.16.0-canary.39e7f40",
40
+ "@radix-ui/react-alert-dialog": "^1.1.1",
41
+ "@radix-ui/react-progress": "^1.1.0",
42
+ "@radix-ui/react-slot": "^1.1.0",
43
+ "@radix-ui/react-tooltip": "^1.1.2",
44
+ "@yext/eslint-config": "^1.0.0",
45
+ "class-variance-authority": "^0.7.0",
46
+ "clsx": "^2.1.1",
47
+ "eslint": "^9.8.0",
48
+ "eslint-plugin-react": "^7.35.0",
49
+ "lucide-react": "^0.414.0",
50
+ "next-themes": "^0.3.0",
51
+ "package.json": "^2.0.1",
52
+ "picocolors": "^1.0.1",
53
+ "prettier": "^3.3.3",
54
+ "prompts": "^2.4.2",
55
+ "sonner": "^1.5.0",
56
+ "tailwind-merge": "^2.4.0",
57
+ "tailwindcss-animate": "^1.0.7",
58
+ "ts-node": "^10.9.2",
59
+ "tsx": "^4.16.3"
60
+ },
61
+ "engines": {
62
+ "node": "^17 || ^18 || ^20"
63
+ },
64
+ "packageManager": "pnpm@8.6.8",
65
+ "lint-staged": {
66
+ "*": "prettier --write --cache --ignore-unknown",
67
+ "*.{ts,js,tsx,jsx}": "eslint --cache --fix"
68
+ },
69
+ "devDependencies": {
70
+ "@eslint/compat": "^1.1.1",
71
+ "@eslint/eslintrc": "^3.1.0",
72
+ "@eslint/js": "^9.8.0",
73
+ "@tailwindcss/typography": "^0.5.13",
74
+ "@types/fs-extra": "^11.0.4",
75
+ "@types/minimist": "^1.2.5",
76
+ "@types/node": "^20.14.11",
77
+ "@types/prompts": "^2.4.9",
78
+ "@types/react": "^18.3.3",
79
+ "@types/react-dom": "^18.3.0",
80
+ "@types/semver": "^7.5.8",
81
+ "@typescript-eslint/eslint-plugin": "^8.0.1",
82
+ "@typescript-eslint/parser": "^8.0.1",
83
+ "@vitejs/plugin-react": "^4.3.1",
84
+ "@yext/pages": "1.2.0-beta.0",
85
+ "autoprefixer": "^10.4.19",
86
+ "eslint-plugin-import": "^2.29.1",
87
+ "eslint-plugin-require-extensions": "^0.1.3",
88
+ "execa": "^8.0.1",
89
+ "fs-extra": "^11.2.0",
90
+ "generate-license-file": "^3.5.0",
91
+ "globals": "^15.8.0",
92
+ "husky": "^9.1.4",
93
+ "jsdom": "^24.1.1",
94
+ "lint-staged": "^15.2.7",
95
+ "minimist": "^1.2.8",
96
+ "postcss": "^8.4.39",
97
+ "prettier-plugin-tailwindcss": "^0.6.5",
98
+ "react": "^18.3.1",
99
+ "react-dom": "^18.3.1",
100
+ "semver": "^7.6.3",
101
+ "tailwindcss": "^3.4.6",
102
+ "tsup": "^8.2.3",
103
+ "typescript": "^5.5.4",
104
+ "vite": "^5.3.5",
105
+ "vite-tsconfig-paths": "^4.3.2",
106
+ "vitest": "^2.0.5"
107
+ }
108
+ }