3 Commits

Author SHA1 Message Date
ekamgit
6c3216cf51
Update hooks structure requirements
The current hooks structure has package.json within the lib folder. This causes strapi to fail as it is looking for the package.json file in the hook root folder and not within lib.

This change moves the secondary files back into the hook root leaving only index.js in the lib folder.
2018-06-08 23:05:48 +10:00
Aurelsicoko
5694da2c19 Add structure to middlewares and hooks sections 2017-10-11 15:17:08 +02:00
Aurelsicoko
6d84b8947f Add documentation 2017-10-10 11:15:24 +02:00