Gathering detailed insights and metrics for nts-scripts
Gathering detailed insights and metrics for nts-scripts
Gathering detailed insights and metrics for nts-scripts
Gathering detailed insights and metrics for nts-scripts
Simple npm scripts and common devDependencies to help build a Node TypeScript app.
npm install nts-scripts
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (92.36%)
JavaScript (7.64%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
135 Commits
2 Forks
2 Watchers
17 Branches
2 Contributors
Updated on Oct 03, 2021
Latest Version
3.18.1
Package Id
nts-scripts@3.18.1
Unpacked Size
45.56 kB
Size
10.83 kB
File Count
17
NPM Version
7.22.0
Node Version
16.19.0
Published on
Jan 20, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
17
Simple npm scripts
and common devDependencies
to help build a Node TypeScript app.
Inspired by Create React App's react-scripts package 👏
build
Compiles your TypeScript. Expects a tsconfig.json
file with an include
property and a compilerOptions.outDir
property.
clean
Deletes your compiled TypeScript. Expects a tsconfig.json
file with a compilerOptions.outDir
property.
format
Runs prettier
against all files. Uses your .gitignore
file if it exists to ignore. Semi-customizable with args.
lint
Runs eslint
against all files. Uses your .gitignore
file if it exists to ignore. Semi-customizable with args.
start
Cleans, builds, and starts your Node project with debugging enabled. Targets the main
property in your package.json
first and falls back to the outDir
property second. Semi-customizable with args.
watch
Essentially the same as start
except your project will re-build/start when changes are seen in your outDir
. Semi-customizable with args.
tsconfig.json
At a minimum the properties below are required. The values can be customized.
1{ 2 "compilerOptions": { 3 "outDir": "./build" 4 }, 5 "include": ["./src"] 6}
.gitignore
At least ignore the folders below. NOTE: If you customized the outDir
in your tsconfig.json
, update the build
line here to match.
build
coverage
node_modules
.eslintrc.js
An eslint config is required. Below is the simplest setup.
1module.exports = { 2 extends: [ 3 'plugin:@typescript-eslint/recommended', 4 'plugin:prettier/recommended', 5 'prettier', 6 ], 7 parser: '@typescript-eslint/parser', 8};
.importsortrc.js
The config below is required.
1module.exports = { 2 '.ts, .js': { 3 style: 'module', 4 parser: 'typescript', 5 }, 6};
jest.config.js
At a minimum the config below is required. NOTE: If you customized the outDir
in your tsconfig.json
, update '<rootDir>/build/'
to match.
1module.exports = { 2 preset: 'ts-jest', 3 testPathIgnorePatterns: ['<rootDir>/build/', '<rootDir>/node_modules/'], 4};
.prettierrc.js
It's recommended you setup a Prettier configuration file.
.nvmrc
Using nvm
along with an .nvmrc
file to automatically switch to the appropriate version of Node can be extremely helpful.
.vscode/settings.json
If you're using VS Code, a project-level settings file may be helpful to customize your experience.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 6
Details
Reason
Found 0/14 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More