Common utility scripts used by js-data repositories.
Refer to the package.json
files of the various js-data adapter repositories to
see this tool in action.
Install into a repository: npm i --save-dev @js-data/repo-tools
And update your scripts in package.json
:
"scripts": {
"lint": "repo-tools lint src/index.js test/**/*.js"
}
Or install globally: npm i -g @js-data/repo-tools
And use on the commandline:
repo-tools lint
The MIT License (MIT)
Copyright (c) 2020 @js-data/repo-tools project authors