Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndlano/h5p-topic-map
https://github.com/ndlano/h5p-topic-map
h5p
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/ndlano/h5p-topic-map
- Owner: NDLANO
- License: mit
- Created: 2021-08-30T04:58:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-14T09:20:02.000Z (about 2 months ago)
- Last Synced: 2024-09-14T19:59:14.584Z (about 2 months ago)
- Topics: h5p
- Language: TypeScript
- Homepage:
- Size: 25.3 MB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# h5p-topic-map
## Building and running on localhost
First install dependencies:
```sh
npm install
```To run in hot module reloading mode:
```sh
npm start
```To create a production build:
```sh
npm run build:prod
```To create a development build:
```sh
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:
```sh
npm test
```## Credits
Made with [createapp.dev](https://createapp.dev/). Generated by .