-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 6.1 KB
/
Copy pathpackage.json
File metadata and controls
148 lines (148 loc) · 6.1 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
144
145
146
147
148
{
"name": "volto-hydra-dev",
"version": "1.0.0-alpha.0",
"description": "A volto addon to let you edit content in realtime when you have many frontends written in any framework.",
"author": "Plone Community",
"homepage": "https://github.com/collective/volto-hydra",
"license": "MIT",
"keywords": [
"volto-addon",
"volto",
"plone",
"react"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "VOLTOCONFIG=$(pwd)/volto.config.js razzle start",
"start:test": "PORT=${HYDRA_VOLTO_SSR_PORT:-3001} RAZZLE_API_PATH=http://localhost:${HYDRA_MOCK_API_PORT:-8888} RAZZLE_DEFAULT_IFRAME_URL=\"Test frontend|http://localhost:${HYDRA_TEST_FRONTEND_PORT:-8889},Nuxt blog|http://localhost:${HYDRA_NUXT_PORT:-3003},F7 Mobile|http://localhost:${HYDRA_F7_PORT:-3008}/#!,Next.js|http://localhost:${HYDRA_NEXTJS_PORT:-3007}\" VOLTOCONFIG=$(pwd)/volto.config.js razzle start",
"start:mock-api": "PORT=${HYDRA_MOCK_API_PORT:-8888} CONTENT_MOUNTS='/:docs/content/content/content,/_test_data:tests-playwright/fixtures/content' node --watch --watch-path=tests-playwright/fixtures --watch-path=packages/hydra-js --watch-path=docs/content tests-playwright/fixtures/mock-api-server.cjs",
"start:test-frontend": "npx vite --config tests-playwright/fixtures/test-frontend/vite.config.js",
"start:nuxt:test": "cd examples/nuxt-blog-starter && pnpm run dev:test",
"start:react:test": "cd docs/examples/test-react && pnpm run dev:test",
"start:svelte:test": "cd docs/examples/test-svelte && pnpm run dev:test",
"start:prod": "NODE_ENV=production node --enable-source-maps build/server.js",
"build": "VOLTOCONFIG=$(pwd)/volto.config.js razzle build --noninteractive",
"build:deps": "pnpm --filter @plone/registry --filter @plone/components build",
"i18n": "pnpm --filter volto-hydra i18n",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:api": "node --test tests-playwright/fixtures/*.test.cjs",
"check:docs": "node docs/examples/check-examples.mjs",
"sync:docs": "node docs/sync.mjs",
"sync:docs:check": "node docs/sync.mjs --check",
"demo:capture": "playwright test --project=demo-video",
"demo:encode": "bash tests-playwright/demo-video/encode.sh",
"lint": "eslint --max-warnings=0 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint --fix 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
"prettier": "prettier --check 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
"prettier:fix": "prettier --write 'packages/**/src/**/*.{js,jsx,ts,tsx}' ",
"stylelint": "stylelint 'packages/**/src/**/*.{css,scss,less}' --allow-empty-input",
"stylelint:fix": "stylelint 'packages/**/src/**/*.{css,scss,less}' --fix --allow-empty-input",
"dry-release": "pnpm --filter volto-hydra dry-release",
"release": "pnpm --filter volto-hydra release",
"release-major-alpha": "pnpm --filter volto-hydra release-major-alpha",
"release-alpha": "pnpm --filter volto-hydra release-alpha",
"storybook": "VOLTOCONFIG=$(pwd)/volto.config.js storybook dev -p 6006 -c $(pwd)/.storybook",
"build-storybook": "VOLTOCONFIG=$(pwd)/volto.config.js storybook build -c $(pwd)/.storybook",
"example:nextjs": "pnpm --filter hydra-nextjs run dev",
"example:nuxt": "pnpm --filter nuxt-blog-starter install && pnpm --filter nuxt-blog-starter run dev"
},
"dependencies": {
"@plone/volto": "workspace:*",
"send": "~0.19.0",
"volto-hydra": "workspace:*"
},
"peerDependencies": {
"@playwright/test": "1.61.0"
},
"peerDependenciesMeta": {
"@playwright/test": {
"optional": false
}
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "7.18.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-throw-expressions": "7.18.6",
"@babel/plugin-syntax-export-namespace-from": "7.8.3",
"@fiverr/afterbuild-webpack-plugin": "^1.0.0",
"@loadable/babel-plugin": "5.13.2",
"@loadable/webpack-plugin": "5.15.2",
"@playwright/test": "1.61.0",
"@plone/babel-preset-razzle": "workspace:*",
"@plone/razzle": "workspace:*",
"@plone/razzle-dev-utils": "workspace:*",
"@storybook/react": "^8.0.4",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/node": "^22",
"@vitejs/plugin-react": "^4.0.0",
"@vue/compiler-sfc": "^3.4.0",
"acorn": "^8.11.0",
"acorn-jsx": "^5.3.2",
"autoprefixer": "10.4.8",
"axe-core": "^4.11.4",
"babel-loader": "9.1.0",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-react-intl": "5.1.17",
"babel-plugin-root-import": "6.1.0",
"circular-dependency-plugin": "5.2.2",
"cors": "^2.8.5",
"css-loader": "5.2.7",
"html-webpack-plugin": "5.5.0",
"jsdom": "catalog:",
"less": "3.11.1",
"less-loader": "11.1.0",
"lodash-webpack-plugin": "0.11.6",
"mini-css-extract-plugin": "2.7.2",
"moment-locales-webpack-plugin": "1.2.0",
"mrs-developer": "^2.2.0",
"postcss": "8.4.31",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-load-config": "3.1.4",
"postcss-loader": "7.0.2",
"razzle-plugin-scss": "4.2.18",
"style-loader": "3.3.1",
"svelte": "^4.0.0",
"svg-loader": "0.0.2",
"svgo-loader": "3.0.3",
"terser-webpack-plugin": "5.3.6",
"typescript": "^5.7.3",
"vite": "^5.0.0",
"vitest": "catalog:",
"webpack": "5.90.1",
"webpack-dev-server": "4.11.1",
"webpack-node-externals": "3.0.0"
},
"packageManager": "pnpm@10.34.1",
"files": [
"./dist"
],
"pnpm": {
"overrides": {
"slate": "0.118.1",
"slate-react": "0.118.2",
"slate-history": "0.109.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"@types/react": "18.3.30",
"@types/react-dom": "18.3.7"
},
"ignoredBuiltDependencies": [
"@parcel/watcher"
],
"onlyBuiltDependencies": [
"core-js",
"core-js-pure",
"cypress",
"es5-ext",
"esbuild",
"lightningcss-cli",
"unrs-resolver"
]
}
}