Bixal / bixaluswds

A Drupal base theme integrating USWDS
0 stars 5 forks source link

Dependencies: Run build in post install hook #2

Closed mejiaj closed 6 months ago

mejiaj commented 7 months ago

Starter theme has instructions to run NPM commands

nvm use
npm install
npm run build

Adding a postinstall hook to package.json would save us a step.

https://github.com/Bixal/bixaluswds/blob/6bf76921d5c7b5b0a7cc500d606cdef20cf363bf/starter_theme/package.json#L6-L9

Calling npm run build here will always run it after install.

Tasks

rayestrada commented 6 months ago

This issue is complete.