zoho-sites-dev-cli 0.0.0-stage → 1.0.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.
Files changed (52) hide show
  1. package/README.md +401 -2
  2. package/bin/zoho-sites-dev-cli.js +107 -0
  3. package/config/default.json +18 -0
  4. package/index.js +6 -0
  5. package/package.json +55 -4
  6. package/src/commands/auth.js +136 -0
  7. package/src/commands/create.js +175 -0
  8. package/src/commands/deploy.js +380 -0
  9. package/src/commands/generate-zip.js +49 -0
  10. package/src/commands/index.js +23 -0
  11. package/src/commands/init-tailwind.js +57 -0
  12. package/src/commands/init.js +448 -0
  13. package/src/commands/install.js +89 -0
  14. package/src/commands/login.js +248 -0
  15. package/src/commands/pull.js +41 -0
  16. package/src/commands/serve.js +162 -0
  17. package/src/compilers/css-compiler.js +230 -0
  18. package/src/compilers/css-ignore-loader.js +33 -0
  19. package/src/compilers/plugins/index.js +12 -0
  20. package/src/compilers/plugins/root-selector-transform-plugin.js +79 -0
  21. package/src/compilers/tailwind-compiler.js +102 -0
  22. package/src/compilers/webpack-compiler.js +512 -0
  23. package/src/compilers/webpack-config.js +103 -0
  24. package/src/config/constants.js +125 -0
  25. package/src/config/environments/audiences.js +19 -0
  26. package/src/config/environments/index.js +78 -0
  27. package/src/config/environments/internal.js +72 -0
  28. package/src/config/environments/production.js +39 -0
  29. package/src/locales/en.json +216 -0
  30. package/src/services/devServer.js +489 -0
  31. package/src/services/oauthService.js +672 -0
  32. package/src/templates/component/fields.json +6 -0
  33. package/src/templates/component/index.js +11 -0
  34. package/src/templates/component/llm.md +9 -0
  35. package/src/templates/component/meta.json +9 -0
  36. package/src/templates/component/styles.css +3 -0
  37. package/src/templates/oauth/complete.html +41 -0
  38. package/src/templates/oauth/error.html +69 -0
  39. package/src/templates/oauth/invalid-request.html +58 -0
  40. package/src/templates/oauth/loading.html +80 -0
  41. package/src/templates/oauth/not-found.html +33 -0
  42. package/src/templates/oauth/success.html +70 -0
  43. package/src/templates/oauth/timeout.html +56 -0
  44. package/src/templates/oauth/token-error.html +57 -0
  45. package/src/utils/configUtil.js +66 -0
  46. package/src/utils/httpUtil.js +351 -0
  47. package/src/utils/i18n.js +205 -0
  48. package/src/utils/loadingUtil.js +190 -0
  49. package/src/utils/secureConfig.js +75 -0
  50. package/src/utils/secureStorage.js +230 -0
  51. package/src/utils/templateLoader.js +89 -0
  52. package/src/utils/urlUtil.js +371 -0
package/README.md CHANGED
@@ -1,3 +1,402 @@
1
- # Temporary Holding Version
1
+ # ZS CLI
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Command line interface for managing Zoho Sites components.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install -g zoho-sites-cli
9
+ ```
10
+
11
+ **Note:** This CLI tool uses CommonJS modules and requires Node.js 14+ for compatibility. The examples below use `zs` for brevity — if you installed `zoho-sites-cli`, run `zoho-sites-cli <command>` instead (e.g. `zoho-sites-cli login`).
12
+
13
+ ## Available Commands
14
+
15
+ - `zs login` - Login to your account
16
+ - `zs logout` - Logout from your account
17
+ - `zs whoami` - Show current user information
18
+ - `zs status` - Show authentication status
19
+ - `zs init` - Initialize a new project
20
+ - `zs init-tailwind` - Add Tailwind CSS config to the current project
21
+ - `zs pull` - Pull components from server
22
+ - `zs create <component_name>` - Create a new component
23
+ - `zs push <component_name>` - Push a component to server
24
+ - `zs serve [--no-open]` - Start development server (use --no-open to prevent browser from opening)
25
+
26
+ - `zs deploy` - Deploy all components to server
27
+ - `zs generate-zip [-o path]` - Generate deployment zip (widgets.zip) for server team verification
28
+ - `zs install <pkg> [pkg2 ...]` - Create `package.json` if missing and run `npm install` for the specified packages. Use `-D`/`--dev` to install as devDependencies.
29
+
30
+
31
+ ## Quick Start
32
+
33
+ 1. Install the CLI:
34
+
35
+ ```bash
36
+ npm install -g zoho-sites-cli
37
+ ```
38
+
39
+ 2. Login to your account:
40
+
41
+ ```bash
42
+ zs login
43
+ ```
44
+
45
+ 3. Initialize a new project:
46
+
47
+ ```bash
48
+ zs init
49
+ ```
50
+
51
+ 4. Create a new component:
52
+
53
+ ```bash
54
+ zs create my-component
55
+ ```
56
+
57
+ 5. Start development server:
58
+
59
+ ```bash
60
+ zs serve
61
+ ```
62
+
63
+ 6. Deploy your components:
64
+ ```bash
65
+ zs deploy
66
+ ```
67
+
68
+ ## Usage Examples
69
+
70
+ ### Authentication
71
+
72
+ Login to your account:
73
+
74
+ ```bash
75
+ # Install packages (creates package.json if missing)
76
+ zs install axios @babel/core
77
+
78
+ # Install as devDependencies
79
+ zs install -D jest @babel/preset-env
80
+
81
+ # Start the login process
82
+ zs login
83
+
84
+ # Check your login status
85
+ zs status
86
+
87
+ # Show your current user info
88
+ zs whoami
89
+
90
+ # Logout when done
91
+ zs logout
92
+ ```
93
+
94
+ ### Component Management
95
+
96
+ Create and manage components:
97
+
98
+ ```bash
99
+ # Initialize a new project (automatically handles namespace setup)
100
+ zs init
101
+
102
+ # Create a new component
103
+ zs create my-component
104
+
105
+ # Pull existing components
106
+ zs pull
107
+
108
+ # Push a component to server
109
+ zs push my-component
110
+
111
+
112
+ ```
113
+
114
+ The `zs init` command will:
115
+
116
+ 1. Fetch your account details (`GET /api/v3/account`) to resolve your asoid (used as `x-site-id` for resource APIs)
117
+ 2. Fetch available workspaces and let you select one (or auto-select if you have only one)
118
+ 3. Fetch apps in that workspace and let you select an app (or auto-select if you have only one)
119
+ 4. Create project structure with configuration files:
120
+ - `.zs` at project root (project metadata including account `asoid`, workspace, app name, and namespace)
121
+ - `webpack.overrides.js` for optional bundling; use `zs init-tailwind` to add Tailwind CSS
122
+ - `package.json` initialized with the current user as author and handy scripts
123
+ 5. Optionally, run `zs pull` to fetch components (reads `<siteDomain>/<namespace>/__widgets/dist/meta.json` and downloads component files into your project with a progress bar)
124
+
125
+ Resulting structure example:
126
+
127
+ ```
128
+ {siteName}/
129
+ ├── .zs
130
+ ├── config.js
131
+ ├── package.json
132
+ └── [components...]
133
+ ```
134
+
135
+ ### Development
136
+
137
+ Start the development server with automatic file watching:
138
+
139
+ ```bash
140
+ # Start server with default settings (opens browser automatically)
141
+ zs serve
142
+
143
+ # Start server without opening browser
144
+ zs serve --no-open
145
+
146
+ # Server automatically watches for file changes and clears cache
147
+ # Access components at http://localhost:8083
148
+ ```
149
+
150
+ **File Watching Features:**
151
+
152
+ - **Automatic Cache Clearing:** Changes to component files automatically clear relevant cache
153
+ - **Real-time Updates:** Modify `index.js`, `styles.css`, `fields.json`, or `meta.json` files and see changes immediately
154
+ - **Smart Invalidation:** Only clears cache for changed files, not entire cache
155
+ - **Console Feedback:** Real-time logging shows which files changed and cache clearing actions
156
+ - **Cross-platform:** Works on macOS, Linux, and Windows
157
+ - **👀 File Watching:** Automatic cache clearing when files change
158
+
159
+ ### Optional: Project Webpack Bundling for Components
160
+
161
+ The dev server can bundle components using your project's Webpack config. If present, it will prefer a Webpack build over the internal Babel compiler.
162
+
163
+ - Place your config at `zbs/webpack.config.js` (preferred) or `webpack.config.js` in your project root
164
+ - All component folders in the project directory are discovered automatically
165
+ - The following env vars are passed to your config:
166
+ - `WIDGETS`/`COMPONENT_LIST`: array of component directory names
167
+ - `BUILD_ONE`: boolean, true when building more than one
168
+ - `COMPONENT`: name when building exactly one
169
+ - `NAMESPACE`: your project namespace (defaults to `zbs` if not provided)
170
+
171
+ Sample config shape (adapt as needed):
172
+
173
+ ```js
174
+ const path = require('path');
175
+ const webpack = require('webpack');
176
+
177
+ module.exports = (env = {}) => {
178
+ const singleComponent = !!env.COMPONENT;
179
+ const buildOne = !!env.BUILD_ONE;
180
+ const componentName = env.COMPONENT;
181
+ const entry = buildOne
182
+ ? {
183
+ 'zbs-component1': path.resolve(__dirname, 'src/entries/component1.entry.js'),
184
+ 'zbs-speaker': path.resolve(__dirname, 'src/entries/speaker.entry.js'),
185
+ 'zbs-sponsor': path.resolve(__dirname, 'src/entries/sponsor.entry.js'),
186
+ }
187
+ : singleComponent
188
+ ? { [`zbs-${componentName}`]: path.resolve(__dirname, 'src/register-one.js') }
189
+ : { zbs: [path.resolve(__dirname, 'src/index.js'), path.resolve(__dirname, 'src/register.js')] };
190
+
191
+ return {
192
+ entry,
193
+ output: {
194
+ path: path.resolve(__dirname, 'dist'),
195
+ filename: '[name].umd.js',
196
+ library: { name: 'ZBSWidgets', type: 'umd' },
197
+ chunkFilename: '[name].umd.js',
198
+ umdNamedDefine: true,
199
+ globalObject: "typeof self !== 'undefined' ? self : this",
200
+ clean: true,
201
+ },
202
+ module: {
203
+ rules: [
204
+ {
205
+ test: /\.(js|jsx)$/,
206
+ exclude: /node_modules/,
207
+ use: {
208
+ loader: 'babel-loader',
209
+ options: {
210
+ presets: [
211
+ ['@babel/preset-env', { targets: { browsers: ['defaults'] } }],
212
+ ['@babel/preset-react', { runtime: 'classic' }],
213
+ ],
214
+ },
215
+ },
216
+ },
217
+ ],
218
+ },
219
+ resolve: { extensions: ['.js', '.jsx'] },
220
+ plugins: [new webpack.DefinePlugin({ COMPONENT_NAME: JSON.stringify(componentName || '') })],
221
+ externals: {
222
+ react: { commonjs: 'react', commonjs2: 'react', amd: 'react', root: 'React' },
223
+ 'react-dom': { commonjs: 'react-dom', commonjs2: 'react-dom', amd: 'react-dom', root: 'ReactDOM' },
224
+ 'react-dom/client': { commonjs: 'react-dom/client', commonjs2: 'react-dom/client', amd: 'react-dom/client', root: 'ReactDOM' },
225
+ },
226
+ optimization: { splitChunks: false, runtimeChunk: false },
227
+ };
228
+ };
229
+ ```
230
+
231
+ Dependencies typically required in your project for this setup:
232
+
233
+ ```bash
234
+ npm i -D webpack webpack-cli @babel/core babel-loader @babel/preset-env @babel/preset-react
235
+ ```
236
+
237
+ #### File Watching Usage
238
+
239
+ **Test File Watching:**
240
+
241
+ ```bash
242
+ # Start the development server
243
+ zs serve
244
+
245
+ # In another terminal, create a test component
246
+ mkdir test-component && cd test-component
247
+ echo 'console.log("Hello World");' > index.js
248
+ echo 'body { background: red; }' > styles.css
249
+ echo '{"name": "test"}' > fields.json
250
+ echo '{"version": "1.0"}' > meta.json
251
+ ```
252
+
253
+ **Console Output Example:**
254
+
255
+ ```
256
+ 🔄 File changed: test-component/index.js
257
+ 🧹 Clearing cache for component: test-component, file: index.js
258
+ 🧹 Cleared cache key: namespace_components_myproject
259
+ ```
260
+
261
+ **File Watching Behavior:**
262
+
263
+ - **JS Changes:** Clears compiled JavaScript cache for all namespaces
264
+ - **CSS Changes:** Clears CSS cache for the specific component
265
+ - **JSON Changes:** Clears fields.json or meta.json cache as appropriate
266
+ - **Smart Invalidation:** Only clears relevant cache entries, not entire cache
267
+ - **Console Feedback:** Shows detailed cache clearing information
268
+
269
+ ### Deploy Components
270
+
271
+ Deploy all components in the current directory:
272
+
273
+ ```bash
274
+ # Make sure you're in a ZS project directory
275
+ cd my-zs-project
276
+
277
+ # Deploy all components
278
+ zs deploy
279
+ ```
280
+
281
+ The deploy command will:
282
+
283
+ 1. Create a temporary directory
284
+ 2. Copy all component folders
285
+ 3. Create a zip file
286
+ 4. Upload to the server
287
+ 5. Clean up temporary files
288
+
289
+ ## Features
290
+
291
+ - OAuth 2.0 authentication with automatic token refresh
292
+ - Secure credential storage in an encrypted file on your machine
293
+ - Component creation from templates
294
+ - Local development server with automatic file watching and cache clearing
295
+ - 👀 File watching with automatic cache clearing
296
+ - HTTPS support with automatic certificate generation
297
+ - Bulk component deployment
298
+ - Real-time file watching with smart cache invalidation
299
+ - Internationalization support
300
+ - Comprehensive error handling
301
+ - Cross-platform compatibility
302
+ - React and CSS compilers for component transformation
303
+
304
+ ## Requirements
305
+
306
+ ### System Requirements
307
+
308
+ - Node.js >= 14.0.0
309
+ - npm >= 6.0.0
310
+ - Git (for version control)
311
+
312
+ ### Supported Operating Systems
313
+
314
+ - macOS
315
+ - Linux
316
+ - Windows 10/11
317
+
318
+ ### Network Requirements
319
+
320
+ - Internet connection for authentication and deployment
321
+ - Access to Zoho Sites API endpoints
322
+
323
+ ## Environment Variables
324
+
325
+ ### Authentication
326
+
327
+ - `ZS_CLIENT_ID` - OAuth client ID (optional)
328
+ - `ZS_CLIENT_SECRET` - OAuth client secret (optional)
329
+
330
+ ### Development
331
+
332
+ - `ZS_DEV_PORT` - Development server port (default: 3000)
333
+ - `ZS_DEV_HOST` - Development server host (default: localhost)
334
+ - `NODE_TLS_REJECT_UNAUTHORIZED` - Set to "0" to bypass SSL verification in development
335
+
336
+ ### Logging
337
+
338
+ - `ZS_DEBUG` - Enable debug logging
339
+ - `ZS_LOG_LEVEL` - Set logging level (error, warn, info, debug)
340
+
341
+ ## Security Notes
342
+
343
+ - Credentials are stored in an encrypted file in your home directory
344
+ - OAuth tokens are automatically refreshed
345
+ - HTTPS certificates are generated for local development
346
+ - API requests use secure HTTPS connections
347
+ - Sensitive data is never logged or exposed
348
+
349
+ ## Compilers
350
+
351
+ The ZS SDK includes powerful compilers for transforming components and CSS:
352
+
353
+ ### Webpack Compiler
354
+
355
+ Bundles components using webpack configuration for optimal performance:
356
+
357
+ ```javascript
358
+ const { webpackCompiler } = require("zoho-sites-cli/src/compilers/webpack-compiler.js");
359
+
360
+ // Bundle components using webpack
361
+ const components = ["MyComponent", "AnotherComponent"];
362
+ const bundledCode = await webpackCompiler.bundleWithWebpack(components);
363
+ ```
364
+
365
+ ### CSS Compiler
366
+
367
+ Processes CSS with PostCSS, including prefixing, minification, and validation:
368
+
369
+ ```javascript
370
+ const { compileCSS } = require("zoho-sites-cli/src/compilers/css-compiler.js");
371
+
372
+ // Compile base64 encoded CSS
373
+ const base64CSS = Buffer.from(cssCode).toString("base64");
374
+ const processedCSS = await compileCSS(base64CSS, "ComponentName");
375
+ ```
376
+
377
+ ### Tailwind CSS
378
+
379
+ You can use Tailwind utility classes in your widgets. The SDK includes Tailwind at build time—you do not need to install `tailwindcss` in your project.
380
+
381
+ - **Config:** Add `tailwind.config.js` at project root by running `zs init-tailwind`. Edit `content` to your component paths (e.g. `["./*/index.js", "./*/**/*.js", "./*/styles.css"]`) so only used utilities are generated.
382
+ - **Scoping:** All Tailwind output is scoped with `[data-element-type^="namespace_"]` so styles apply only inside your widget roots and do not clash with other widgets.
383
+ - **Merge:** Tailwind CSS is built once per namespace and prepended to the combined `dist/styles.css` along with your component CSS.
384
+ - **Deploy:** Include `tailwind.config.js` (and optional `postcss.config.js`) in your project; they are copied into the deploy package automatically.
385
+
386
+ ### Usage Examples
387
+
388
+ See `examples/compiler-usage.js` for complete usage examples.
389
+
390
+ **Note:** All imports in the examples use CommonJS `require()` syntax instead of ES modules.
391
+
392
+ ## Support
393
+
394
+ For issues and feature requests, please:
395
+
396
+ 1. Check the documentation
397
+ 2. Search existing issues
398
+ 3. Create a new issue if needed
399
+
400
+ ## License
401
+
402
+ Copyright (c) Zoho Corporation. All rights reserved.
@@ -0,0 +1,107 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { Command } = require('commander'); //No I18N
4
+ const { login } = require('../src/commands/login.js'); //No I18N
5
+ const { logout, whoami, status } = require('../src/commands/auth.js'); //No I18N
6
+ const { init } = require('../src/commands/init.js'); //No I18N
7
+ const { initTailwind } = require('../src/commands/init-tailwind.js'); //No I18N
8
+ const { pull } = require('../src/commands/pull.js'); //No I18N
9
+ const { create } = require('../src/commands/create.js'); //No I18N
10
+ const { serve } = require('../src/commands/serve.js'); //No I18N
11
+ const { deploy } = require('../src/commands/deploy.js'); //No I18N
12
+ const { generateZip } = require('../src/commands/generate-zip.js'); //No I18N
13
+ const { install } = require('../src/commands/install.js'); //No I18N
14
+
15
+ const { i18n } = require('../src/utils/i18n.js'); //No I18N
16
+
17
+ const program = new Command();
18
+
19
+ program
20
+ .name('zoho-sites-dev-cli')
21
+ .description(i18n.t('cli.description')) //No I18N
22
+ .version('1.0.0'); //No I18N
23
+
24
+ // Authentication commands
25
+ program
26
+ .command('login')
27
+ .description(i18n.t('commands.login.description')) //No I18N
28
+ .action(login);
29
+
30
+ program
31
+ .command('logout')
32
+ .description(i18n.t('commands.logout.description')) //No I18N
33
+ .action(logout);
34
+
35
+ program
36
+ .command('whoami')
37
+ .description(i18n.t('commands.whoami.description')) //No I18N
38
+ .action(whoami);
39
+
40
+ program
41
+ .command('status')
42
+ .description(i18n.t('commands.status.description')) //No I18N
43
+ .action(status);
44
+
45
+
46
+ // Init command
47
+ program
48
+ .command('init')
49
+ .description(i18n.t('commands.init.description')) //No I18N
50
+ .action(init);
51
+
52
+ program
53
+ .command('init-tailwind') //No I18N
54
+ .description(i18n.t('commands.initTailwind.description')) //No I18N
55
+ .action(initTailwind);
56
+
57
+ // Pull command
58
+ program
59
+ .command('pull')
60
+ .description(i18n.t('commands.pull.description')) //No I18N
61
+ .action(pull);
62
+
63
+ // Create command
64
+ program
65
+ .command('create <component_name>')
66
+ .description(i18n.t('commands.create.description')) //No I18N
67
+ .action(create);
68
+
69
+ // Install command
70
+ program
71
+ .command('install [packages...]')
72
+ .description(i18n.t('commands.install.description')) //No I18N
73
+ .option('-D, --dev', 'Install as devDependencies')
74
+ .action((packages, options) => install(packages, options));
75
+
76
+ // Serve command
77
+ program
78
+ .command('serve')
79
+ .description(i18n.t('commands.serve.description')) //No I18N
80
+ .option('--no-open', 'Do not automatically open the browser') //No I18N
81
+ .action(serve);
82
+
83
+ // Deploy command
84
+ program
85
+ .command('deploy')
86
+ .description(i18n.t('commands.deploy.description')) //No I18N
87
+ .action((options) => deploy(options));
88
+
89
+ // Generate zip command (for server team verification)
90
+ program
91
+ .command('generate-zip') //No I18N
92
+ .description(i18n.t('commands.generateZip.description')) //No I18N
93
+ .option('-o, --output <path>', 'Output path for zip file (default: ./widgets.zip)') //No I18N
94
+ .action((options) => generateZip(options));
95
+
96
+ // Handle unknown commands
97
+ program.on('command:*', () => {
98
+ i18n.error('cli.invalidCommand', program.args.join(' ')); //No I18N
99
+ process.exit(1);
100
+ });
101
+
102
+ program.parse(process.argv);
103
+
104
+ // Show help if no command is provided
105
+ if (!process.argv.slice(2).length) {
106
+ program.outputHelp();
107
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "audience": "internal",
3
+ "oauth": {
4
+ "clientId": "1000.419PQKF0RWR8M5MH4NMGVFN81IQQVR",
5
+ "clientSecret": "5611024e300d739f85857ec154e99f284829a5e1df",
6
+ "scope": "ZohoSites.resource.READ,ZohoSites.blogs.CREATE,zohoSites.blogs.READ,aaaserver.profile.read",
7
+ "accessType": "offline",
8
+ "prompt": "consent",
9
+ "defaultPort": 3030
10
+ },
11
+ "environments": {
12
+ "usdc": {
13
+ "authDomain": "https://accounts.zoho.com",
14
+ "siteDomain": "https://sites.zoho.com",
15
+ "siteBuilderDomainTemplate": "https://sitebuilder-{siteId}.zoho.com"
16
+ }
17
+ }
18
+ }
package/index.js ADDED
@@ -0,0 +1,6 @@
1
+ // Export Webpack Compiler
2
+ const WebpackCompiler = require('./src/compilers/webpack-compiler.js'); //No I18N
3
+
4
+ module.exports = {
5
+ WebpackCompiler
6
+ };
package/package.json CHANGED
@@ -1,6 +1,57 @@
1
1
  {
2
2
  "name": "zoho-sites-dev-cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "ZS CLI - Manage your site components",
5
+ "main": "./index.js",
6
+ "bin": {
7
+ "zoho-sites-dev-cli": "./bin/zoho-sites-dev-cli.js"
8
+ },
9
+ "exports": {
10
+ ".": "./index.js"
11
+ },
12
+ "files": [
13
+ "bin/",
14
+ "src/",
15
+ "config/",
16
+ "index.js"
17
+ ],
18
+ "keywords": [
19
+ "cli",
20
+ "zoho sites",
21
+ "site builder",
22
+ "site management",
23
+ "site builder management"
24
+ ],
25
+ "author": "Zoho Corporation",
26
+ "license": "MIT",
27
+ "dependencies": {
28
+ "@babel/core": "^7.28.3",
29
+ "@babel/preset-env": "^7.28.3",
30
+ "@babel/preset-react": "^7.27.1",
31
+ "@babel/standalone": "^7.23.5",
32
+ "archiver": "^6.0.1",
33
+ "axios": "^1.6.7",
34
+ "babel-loader": "^10.0.0",
35
+ "chalk": "^4.1.2",
36
+ "chokidar": "^4.0.3",
37
+ "commander": "^11.1.0",
38
+ "config": "^4.4.1",
39
+ "cors": "^2.8.5",
40
+ "cssnano": "^6.0.1",
41
+ "express": "^4.18.2",
42
+ "inquirer": "^8.2.6",
43
+ "node-cache": "^5.1.2",
44
+ "open": "^8.4.2",
45
+ "postcss": "^8.4.32",
46
+ "postcss-nested": "^6.0.1",
47
+ "postcss-prefix-keyframe": "^0.0.1",
48
+ "postcss-prefix-selector": "^2.1.1",
49
+ "tailwindcss": "^3.4.0",
50
+ "webpack": "^5.91.0",
51
+ "webpack-merge": "^6.0.1"
52
+ },
53
+ "engines": {
54
+ "node": ">=14.0.0"
55
+ },
56
+ "preferGlobal": true
57
+ }