New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@jupiterone/integration-sdk-dev-tools

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/integration-sdk-dev-tools

A collection of developer tools that will assist with building integrations.

7.2.0
Version published
Maintainers
1
Created

@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"
  ]
}

FAQs

Package last updated on 22 Oct 2021

Did you know?

Socket

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.

Install

Related posts