Directus Extension Scripts
Installation
npm install --dev directus-ext-scripts
Configuration
Library will read some config from package.json. Please make sure you already setup those fields.
-
name
package.name will be folder name.
-
outDir
For example: you're creating custom page, outputDir maybe
public/extensions/custom/pages
-
meta
Library will use
meta
object to generatemeta.json