Allow specifying npm run steps declaratively
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Today you have to do this:
```
plugin: nodejs
override-build: |
PATH=../npm/bin:$PATH yarn run build
snapcraftctl build
```
Ideally this would be something like:
```
plugin: nodejs
nodejs-scripts:
- build
```
Discovered while snapping https://github.com/eykrehbein/strest
Evaluation history
No evaluation history available.