Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndlano/h5p-order-priority
https://github.com/ndlano/h5p-order-priority
h5p
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ndlano/h5p-order-priority
- Owner: NDLANO
- License: mit
- Created: 2019-10-04T11:57:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-25T16:30:09.000Z (4 months ago)
- Last Synced: 2024-08-25T17:45:18.809Z (4 months ago)
- Topics: h5p
- Language: JavaScript
- Homepage:
- Size: 1.15 MB
- Stars: 1
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# H5P Priority
This content type encourages the user to reflect upon provided statements and put
these in a ordered priority. They can also provide a comment for each statement
where they elaborate on why they made this priority.If configured users can also add their own statements.
## Getting started
Clone this repository with git and check out the branch that you are interested
in (or choose the branch first and then download the archive, but learning
how to use git really makes sense).Change to the repository directory and run
```bash
npm install
```to install required modules. Afterwards, you can build the project using
```bash
npm run build
```or, if you want to let everything be built continuously while you are making
changes to the code, run
```bash
npm run watch
```
Before putting the code in production, you should always run `npm run build`.The build process will transpile ES6 to earlier versions in order to improve
compatibility to older browsers. If you want to use particular functions that
some browsers don't support, you'll have to add a polyfill.The build process will also move the source files into one distribution file and
minify the code.