Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Exclude directory from "h5p pack" command

Forums: 

Hi,

I'm new to H5P developing. At the moment I wrote my first own widget (based on the awesome) tutorial for the spectrum color picker. Everything works well, but I'm a confused how I can exclude dev-dependencies when I run "h5p pack".

So my directory structure is as follows:

h5p-widget/
├─ node_modules/
├─ scripts/
├─ package.json
├─ library.json
├─ package-lock.json
├─ README.md

Now, when I run

Save maximum score WP!

Forums: 

I didn't get to test it, but my friend said that the H5P stores the user's recent results. I was wondering if he can keep only the maximum score obtained from each game instead of the most recent one? I want to use it as a kind of technical record of public progress, it would be boring for him to play again and get a lower score that overlaps the maximum he got.

PS: Wordpress Plugin 

Pages