generator-h5p-content-type
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

/generator-h5p-content-type/

    Package Sidebar

    Install

    npm i generator-h5p-content-type

    Weekly Downloads

    15

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    47.3 kB

    Total Files

    64

    Last publish

    Collaborators

    • boyum