main

mattermost/focalboard

Last updated at: 29/12/2023 09:48

package.json

TLDR

This file is a package.json file for the "focalboard-trello-importer" project. It includes information about the project, such as its name, version, description, main file, and dependencies.

Scripts

lint

This script runs ESLint to check the TypeScript and TypeScript React files in the project for linting errors.

fix

This script runs ESLint to fix any linting errors found in the TypeScript and TypeScript React files in the project.

test

This script runs the importTrello.ts file with the specified input file (test/trello.json) and outputs the result to the test/trello-import.focalboard file.

debug:test

This script runs the importTrello.ts file with debugging enabled. It uses ts-node/register to compile and run the TypeScript file, and the specified input file (test/trello.json). It also specifies the output file (test/trello-import.focalboard).

Dev Dependencies

  • @types/minimist: The type declaration for the minimist library
  • @types/node: The type declaration for the Node.js environment
  • @typescript-eslint/eslint-plugin: The ESLint plugin for TypeScript
  • @typescript-eslint/parser: The parser for TypeScript ESLint
  • eslint: The ESLint tool for linting JavaScript and TypeScript code
  • ts-node: The TypeScript execution environment and REPL for Node.js
  • typescript: The TypeScript compiler

Dependencies

  • minimist: A command-line argument parser for JavaScript
{
  "name": "focalboard-trello-importer",
  "version": "1.0.0",
  "private": true,
  "description": "",
  "main": "importTrello.js",
  "scripts": {
    "lint": "eslint --ext .tsx,.ts . --quiet --cache",
    "fix": "eslint --ext .tsx,.ts . --quiet --fix --cache",
    "test": "ts-node importTrello.ts -i test/trello.json -o test/trello-import.focalboard",
    "debug:test": "node --inspect=5858 -r ts-node/register importTrello.ts -i test/trello.json -o test/trello-import.focalboard"
  },
  "keywords": [],
  "author": "",
  "devDependencies": {
    "@types/minimist": "^1.2.1",
    "@types/node": "^14.14.28",
    "@typescript-eslint/eslint-plugin": "^4.15.0",
    "@typescript-eslint/parser": "^4.15.0",
    "eslint": "^7.20.0",
    "ts-node": "^9.1.1",
    "typescript": "^4.1.5"
  },
  "dependencies": {
    "minimist": "^1.2.6"
  }
}