README
@trigen/scripts-preset-node-app
Node app scripts preset.
Usage
- Install scripts package
yarn add -D @trigen/scripts-preset-node-app
- Add installed scripts to
.trigenscriptsrc
[
"preset-node-app",
"./some/other"
]
- Now you can run some script
yarn exec -- trigen-scripts build
Options
Option | Type | Default | Description |
---|---|---|---|
testSkipBuild | boolean |
false |
Skip build step while testing. |
Available scripts
# Run tests with Jest
yarn jest
# Run lint, tests and build
yarn test
# Start given script
yarn start
# Build soruces
yarn build