main

mattermost/focalboard

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

package.json

TLDR

This file is a package.json file for the focalboard-nextcloud-deck-importer project. It contains information about the project, such as its name, version, description, and main entry point file. It also specifies scripts for linting, fixing, testing, and debugging the project. The file also includes details about the project's dependencies and dev dependencies.

Scripts

lint

Runs the ESLint linter to analyze and check the source code files with the .tsx and .ts extensions in the current directory. It operates silently and caches the results.

fix

Runs the ESLint linter to analyze and automatically fix the source code files with the .tsx and .ts extensions in the current directory. It operates silently and caches the results.

test

Executes the importTrello.ts script using ts-node. It takes an input file -i test/trello.json and outputs the result to test/trello-import.focalboard. This script is used for testing the import functionality of Trello data.

debug:test

Launches the Node.js debugger and executes the importTrello.ts script using ts-node. It takes an input file -i test/trello.json and outputs the result to test/trello-import.focalboard. This script is used for debugging the import functionality of Trello data.

Dev Dependencies

  • @types/minimist: Provides TypeScript type definitions for the minimist package.
  • @types/node: Provides TypeScript type definitions for the Node.js runtime environment.
  • @types/node-fetch: Provides TypeScript type definitions for the node-fetch package.
  • @types/readline-sync: Provides TypeScript type definitions for the readline-sync package.
  • @typescript-eslint/eslint-plugin: ESLint plugin for TypeScript.
  • @typescript-eslint/parser: Parser for TypeScript compatible with ESLint.
  • eslint: JavaScript and TypeScript linter.
  • minimist: Command-line argument parsing library.
  • node-fetch: Fetch API implementation for Node.js.
  • readline-sync: Synchronous readline library for Node.js.
  • ts-node: TypeScript execution and REPL for Node.js.
  • typescript: TypeScript programming language.
{
  "name": "focalboard-nextcloud-deck-importer",
  "version": "1.0.0",
  "private": true,
  "description": "",
  "main": "importDeck.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",
    "@types/node-fetch": "^2.5.0",
    "@types/readline-sync": "^1.4.4",
    "@typescript-eslint/eslint-plugin": "^4.15.0",
    "@typescript-eslint/parser": "^4.15.0",
    "eslint": "^7.20.0",
    "minimist": "^1.2.6",
    "node-fetch": "^2.6.7",
    "readline-sync": "^1.4.10",
    "ts-node": "^10.4.0",
    "typescript": "^4.5.5"
  }
}