Skip to content

NDLANO/h5p-topic-map

Repository files navigation

h5p-topic-map

Building and running on localhost

First install dependencies:

npm install

To run in hot module reloading mode:

npm start

To create a production build:

npm run build:prod

To create a development build:

npm run build:dev

Semantics

When adding new fields to H5P's semantics.json, never change semantics.json itself, but rather update ./src/semantics.ts and run npm run generate-semantics afterwards. This ensures strict typing of semantics.

For semantics generation watch mode, run npm run watch-semantics.

Running

Open the file dist/index.html in your browser

Testing

To run unit tests:

npm test

Credits

Made with createapp.dev. Generated by https://github.com/NDLA-H5P/generator-h5p-content-type.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11