-
Notifications
You must be signed in to change notification settings - Fork 5
Frontend Commands
sebeder edited this page Nov 18, 2022
·
3 revisions
The following commands are supported by Specmate:
-
npm run init
(You should run this in the beginning of every development session; this includesnpm install
)
To build i18n: npm run extract
To clean: npm run clean
-
npm run build-dev
compiles everything and deploys it in a developer friendly version on the server. -
npm run build-prod
compiles everything and deploys it in a production friendly version on the server. -
npm run extract
builds the i18n files for English and German translation
-
npm run check
Runs the linter for code errors, prints all licenses used in production mode, and checks whether the dependencies in package.json reference the newest versions of the libraries. -
npm run update-dependencies
Updates all dependencies inpackage.json
to reflect the newest version. You should use this with care. Additionally, you have to runnpm run init
afterwards.