@jupiterone/integration-sdk-dev-tools
v15.2.2
Published
A collection of developer tools that will assist with building integrations.
Downloads
119,749
Readme
@jupiterone/integration-sdk-dev-tools
This package contains some common dependencies and configuration files used in JupiterOne integrations.
This module is opinionated and bundles in the following dependencies:
typescript
prettier
jest
eslint
husky
lint-staged
For convenience, this package also comes bundled with the
@jupiterone/integration-sdk-cli
module.
Installation
npm install -D @jupiterone/integration-sdk-dev-tools
# or
yarn add -D @jupiterone/integration-sdk-dev-tools
Usage
Create prettier.config.js
at root of your project that contains:
module.exports = require('@jupiterone/integration-sdk-dev-tools/config/prettier');
Create lint-staged.config.js
at root of your project that contains:
module.exports = require('@jupiterone/integration-sdk-dev-tools/config/lint-staged');
Create husky.config.js
at root of your project that contains:
module.exports = require('@jupiterone/integration-sdk-dev-tools/config/husky');
Create jest.config.js
at root of your project that contains:
module.exports = require('@jupiterone/integration-sdk-dev-tools/config/jest');
Create tsconfig.json
at root of your project that contains:
{
"extends": "./node_modules/@jupiterone/integration-sdk-dev-tools/config/typescript",
"compilerOptions": {
"outDir": "dist"
},
"exclude": ["dist"]
}
Create a .eslintrc
at the root of your project that contains:
{
"root": true,
"extends": [
"./node_modules/@jupiterone/integration-sdk-dev-tools/config/eslint.json"
]
}