forked from mhurhangee/docx-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 6.2 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) · 6.2 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "docx-editor-monorepo",
"version": "0.0.21",
"private": true,
"workspaces": [
"packages/*",
"examples/agents-demo",
"examples/agent-chat-demo",
"examples/astro",
"examples/collaboration",
"examples/nextjs",
"examples/plugins/docxtemplater",
"examples/plugins/hello-world",
"examples/nuxt",
"examples/remix",
"examples/vite",
"examples/vue"
],
"type": "module",
"scripts": {
"dev": "bun run --filter './examples/vite' --filter './examples/vue' dev",
"dev:react": "bun run --filter './examples/vite' dev",
"dev:vue": "bun run --filter './examples/vue' dev",
"dev:nextjs": "cd examples/nextjs && npm run dev",
"dev:remix": "cd examples/remix && npm run dev",
"dev:astro": "cd examples/astro && npm run dev",
"dev:nuxt": "bun run --filter './examples/nuxt' dev",
"dev:demo": "bash examples/dev-all.sh",
"build": "bun run build:packages && bun run build:react && bun run build:vue && bun run build:assemble",
"build:packages": "bun run --filter '@eigenpal/docx-editor-i18n' build && bun run --filter '@eigenpal/docx-editor-core' build && bun run --filter '@eigenpal/docx-editor-react' build && bun run --filter '@eigenpal/docx-editor-agents' --filter '@eigenpal/docx-editor-vue' build && bun run --filter '@eigenpal/nuxt-docx-editor' build",
"build:react": "cd examples/vite && USE_PUBLISHED_PACKAGES=true VITE_BASE_PATH=/react/ vite build",
"build:vue": "cd examples/vue && USE_PUBLISHED_PACKAGES=true VITE_BASE_PATH=/vue/ vite build",
"build:assemble": "rm -rf examples/parity/dist && mkdir -p examples/parity/dist && cp -R examples/vite/dist examples/parity/dist/react && cp -R examples/vue/dist examples/parity/dist/vue && cp examples/parity/index.html examples/parity/dist/index.html",
"preview": "bun run build && bunx serve examples/parity/dist -p 4173",
"test": "bun test",
"test:watch": "bun test --watch",
"test:e2e": "npx playwright test",
"test:e2e:react": "npx playwright test --project=chromium",
"test:e2e:vue": "npx playwright test --project=vue",
"test:e2e:nuxt": "npx playwright test --project=nuxt",
"test:e2e:parity": "npx playwright test --project=parity",
"test:e2e:parity:smoke": "npx playwright test --project=parity e2e/tests/parity/smoke",
"test:e2e:full": "npx playwright test --project=chromium --project=vue --project=parity",
"test:e2e:ui": "npx playwright test --ui",
"test:visual": "npx playwright test visual.spec.ts",
"typecheck": "bun run --filter '*' typecheck",
"lint": "eslint packages/*/src/",
"lint:fix": "eslint packages/*/src/ --fix",
"format": "prettier --write \"packages/*/src/**/*.{ts,tsx,js,jsx,json,css}\"",
"format:check": "prettier --check \"packages/*/src/**/*.{ts,tsx,js,jsx,json,css}\"",
"i18n:validate": "node scripts/validate-i18n.mjs validate",
"i18n:fix": "node scripts/validate-i18n.mjs validate --fix",
"i18n:new": "node scripts/validate-i18n.mjs new",
"i18n:status": "node scripts/validate-i18n.mjs status",
"i18n:codegen": "node scripts/validate-i18n.mjs codegen",
"check:editor-contract": "node scripts/check-editor-contract.mjs",
"check:public-docs-surface": "node scripts/check-public-docs-surface.mjs",
"check:export-parity": "node scripts/check-export-parity.mjs",
"check:feature-parity": "node scripts/check-feature-parity.mjs",
"check:consumer-install": "node scripts/check-consumer-install.mjs",
"check:parity-contract": "node scripts/check-parity-contract.mjs",
"check:adapter-css-thin": "node scripts/check-adapter-css-thin.mjs",
"check:parity": "bun run check:export-parity && bun run check:editor-contract && bun run check:public-docs-surface && bun run check:parity-contract && bun run check:adapter-css-thin",
"check:i18n-bundle-size": "node scripts/check-i18n-bundle-size.mjs",
"api:extract": "node scripts/api-extractor.mjs --local",
"api:check": "node scripts/api-extractor.mjs",
"docs:json": "node scripts/build-docs-json.mjs",
"reference:fetch": "node scripts/fetch-reference.mjs",
"parity:perf": "node scripts/perf/cold-start.mjs && node scripts/perf/input-latency.mjs && node scripts/perf/save.mjs && node scripts/perf/scroll-fps.mjs",
"parity:prepublish": "node scripts/parity-prepublish.mjs",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "bun run build:packages && changeset publish",
"prepare": "husky"
},
"devDependencies": {
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.30.0",
"@happy-dom/global-registrator": "^20.8.3",
"@microsoft/api-extractor": "^7.50.0",
"ajv": "^8.12.0",
"@microsoft/tsdoc": "^0.16.0",
"@playwright/test": "^1.60.0",
"@testing-library/react": "^16.0.0",
"@types/bun": "^1.0.0",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitejs/plugin-react": "^6.0.2",
"@vitejs/plugin-vue": "^6.0.4",
"autoprefixer": "^10.4.17",
"class-variance-authority": "^0.7.0",
"eslint": "^10.0.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"husky": "^9.1.7",
"jszip": "^3.10.1",
"lint-staged": "^17.0.4",
"postcss": "^8.4.33",
"prettier": "^3.8.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vite": "^8.0.10",
"vue": "^3.5.29",
"vue-eslint-parser": "^10.4.0"
},
"keywords": [
"docx",
"editor",
"template",
"word",
"document",
"react",
"prosemirror"
],
"author": "EigenPal",
"license": "Apache-2.0",
"homepage": "https://docx-editor.dev/",
"repository": {
"type": "git",
"url": "https://github.com/eigenpal/docx-editor.git"
},
"publishConfig": {
"access": "public"
},
"overrides": {
"prosemirror-view": "1.41.8",
"prosemirror-state": "1.4.4",
"prosemirror-model": "1.25.4",
"prosemirror-transform": "1.12.0"
},
"resolutions": {
"prosemirror-view": "1.41.8",
"prosemirror-state": "1.4.4",
"prosemirror-model": "1.25.4",
"prosemirror-transform": "1.12.0"
}
}