1.0.0 • Published 2 years ago

generator-h5p-content-type v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

generator-h5p-content-type NPM version

Yeoman generator for creating h5p content types according to the template: https://github.com/NDLA-H5P/content-type-template

Installation

First, install Yeoman and generator-h5p-content-type using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-h5p-content-type

Then generate your new project:

yo h5p-content-type

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

Development

To run the project locally, follow these steps:

  1. Clone the project
  2. Open the directory
  3. Run npm install to fetch dependencies
  4. Run npm run build to build the project
  5. Run npm link. You might have to do this as an administrator, i.e. by running sudo npm link. You only need to link the project once
  6. Run npm run generate-local to build and run the generator locally

License

MIT