
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@billogram/billo-scripts-node
Advanced tools
> Scripts for building and maintaining TypeScript Node.js apps
Scripts for building and maintaining TypeScript Node.js apps
yarn add --dev --exact @billogram/billo-scripts-node
Add the following scripts to package.json
.
{
"scripts": {
"prebuild": "billo-scripts-node test",
"build": "billo-scripts-node build",
"test": "billo-scripts-node test",
"ts:lint": "billo-scripts-node ts-lint",
"ts:test": "billo-scripts-node ts-test",
"ts:watch": "billo-scripts-node ts-watch",
}
}
Add a tsconfig.json
file in the same folder as package.json
.
{
"extends": "@billogram/typescript-config-node",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src"
}
}
These tasks will be run in silent mode, which means the output for each individual task will be minimal.
build
Run all necessary tasks to generate a fresh build in the dist
folder.
empty-dist
ts-compile
generate-license
filter-dist
test
Run all necessary tasks to test the quality of the project.
ts-lint
ts-test
empty-dist
Empty the dist
folder.
filter-dist
Remove unwanted test and source map files from the dist
folder.
generate-license
Generate a project license in the dist
folder.
ts-compile
Compile TypeScript to JavaScript and put the output in the dist
folder.
ts-lint
Lint source files using ESLint.
ts-test
Run tests using Jest.
ts-watch
Re-compile TypeScript to JavaScript and put the output in the dist
folder on changes to the source files.
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.
MIT
FAQs
> Scripts for building and maintaining TypeScript Node.js apps
We found that @billogram/billo-scripts-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.