Skip to content

Commit

Permalink
fix: use correct scripts for react+typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Van Camp committed Jun 8, 2023
1 parent 502c9a8 commit d92c215
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Expand Down

0 comments on commit d92c215

Please sign in to comment.