From d92c21547ace5660a23c440fdaa9280a382dfb58 Mon Sep 17 00:00:00 2001 From: Alex Van Camp Date: Thu, 8 Jun 2023 14:04:54 -0500 Subject: [PATCH] fix: use correct scripts for react+typescript --- src/generators/app/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/generators/app/index.ts b/src/generators/app/index.ts index 97ee285..e1dd14a 100644 --- a/src/generators/app/index.ts +++ b/src/generators/app/index.ts @@ -205,10 +205,10 @@ export default class AppGenerator extends Generator { if (this.props.typescript) { /* eslint-disable @typescript-eslint/naming-convention */ pkg.scripts = { - build: 'node scripts/build.mjs', - 'build:extension': 'node scripts/build.mjs --skipBrowser', - watch: 'node scripts/build.mjs --watch', - 'watch:browser': 'node scripts/build.mjs --skipExtension --watch', + build: 'node scripts/build.mjs --all', + 'build:extension': 'node scripts/build.mjs --extension', + watch: 'node scripts/build.mjs --all --watch', + 'watch:browser': 'node scripts/build.mjs --dashboard --graphics --watch', dev: 'concurrently --kill-others "npm run watch:browser" "nodemon"', 'generate-schema-types': 'trash src/types/schemas && nodecg schema-types', };