create-next2d-app 1.2.1 → 1.2.3

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 (3) hide show
  1. package/README.md +7 -2
  2. package/index.js +3 -8
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -28,9 +28,14 @@ npm start
28
28
  npm run generate
29
29
  ```
30
30
 
31
- * Bundles the app into static files for production.
31
+ * Start the emulator for each platform.
32
32
  ```sh
33
- npm run build -- --env="prd"
33
+ npm run [ios|android|windows|macos] -- --env prd
34
+ ```
35
+
36
+ * Export a production version for each platform.
37
+ ```sh
38
+ npm run build -- --platform [windows|macos|web] --env prd
34
39
  ```
35
40
 
36
41
  * Starts the test runner.
package/index.js CHANGED
@@ -286,12 +286,12 @@ const install = function (root, app_name, template, dependencies)
286
286
  console.log(" Generate the necessary View and ViewModel classes from the routing JSON file.");
287
287
 
288
288
  console.log();
289
- console.log(` ${chalk.green("npm run [ios|android|windows|macos] --env=\"prd\"")}`);
289
+ console.log(` ${chalk.green("npm run [ios|android|windows|macos] -- --env prd")}`);
290
290
  console.log(" Start the emulator for each platform.");
291
291
 
292
292
  console.log();
293
- console.log(` ${chalk.green("npm run build --env=\"prd\"")}`);
294
- console.log(" Bundles the app into static files for production.");
293
+ console.log(` ${chalk.green("npm run build -- --platform [windows|macos|web] --env prd")}`);
294
+ console.log(" Export a production version for each platform.");
295
295
 
296
296
  console.log();
297
297
  console.log(` ${chalk.green("npm test")}`);
@@ -383,7 +383,6 @@ const createApp = function (app_name, template = "@next2d/framework-template")
383
383
  );
384
384
 
385
385
  install(root, appName, template, [
386
- "@next2d/player",
387
386
  "@next2d/framework",
388
387
  "@next2d/webpack-auto-loader-plugin",
389
388
  "@next2d/env",
@@ -391,10 +390,6 @@ const createApp = function (app_name, template = "@next2d/framework-template")
391
390
  "webpack",
392
391
  "webpack-cli",
393
392
  "webpack-dev-server",
394
- "@babel/core",
395
- "@babel/preset-env",
396
- "eslint",
397
- "eslint-webpack-plugin",
398
393
  "@capacitor/cli",
399
394
  "@capacitor/core",
400
395
  "@capacitor/ios",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next2d-app",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Create Next2D apps with no build configuration.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
6
6
  "license": "MIT",