Skip to content

[FEATURE] Additional npm scripts for debugging, validation, packaging... #15

@OliverFlint

Description

@OliverFlint

Add the following additional NPM scripts to the templates to improve dev workflow:

  • local validation "validate": "pptb-validate"
  • debug build "dev-watch": "vite build --mode development --watch"
    • update vite.config.ts to support sourcemap switch sourcemap: configEnv.mode === "development"
  • npm version increment "version-stable": "npm version patch --no-git-tag-version"
  • package new version "publish-package": "npm run build && npm run version-stable && npm publish --access public"
  • Update template readme to reflect above changes

All the above should be completed for the following templates:

  • react
  • reactant
  • reactfluent
  • reactmui
  • svelte
  • vue

Additional tasks:

  • Update html template to use vite and with all of the above options
  • Create issue to update docs regards debugging

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions