@digi-edu/training-center
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

Available Scripts for Development

In the project directory, you can run:

npm run setup

Installs all dependencies and dev dependencies in training-center-ui & example and links react & react-dom to the modules installes in example.

npm start

Runs the example app in development mode and starts a development server for TrainingCenterUI
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits in either example or TrainingCenterUI.
You will also see any lint errors in the console.

npm run lint

Lints the code using eslint.

npm run lint:fix

Lints the code using eslint and fixes all fixable issues.

npm test

Launches the test runner in the interactive watch mode.

npm run test:coverage

Launches the test runner and creates an coverage report.

npm run build

Builds the app for development to the dist folder.
It should not be necessary to build in development since npm start will also build with a development server.

Available Scripts for Production

npm run build:production

Builds the app for production to the dist folder.

npm run postbuild:production

Runs after npm run build:production.
Uninstalles dev dependencies for production.

npm run prepare

Runs after npm install.
Executes npm run build:production to bundle after installation.

Readme

Keywords

none

Package Sidebar

Install

npm i @digi-edu/training-center

Weekly Downloads

31

Version

1.0.9

License

ISC

Unpacked Size

184 kB

Total Files

156

Last publish

Collaborators

  • mtodorov
  • vanessastraube
  • brainix
  • vminkovski