main

mattermost/focalboard

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

package.json

TLDR

This file is a package.json file used in the Demo Projects project. It contains information about the project, its dependencies, and scripts to run different tasks.

Scripts

lint

Runs the ESLint linter to check for code style and syntax issues in TypeScript files (.tsx, .ts). It runs in quiet mode and utilizes caching for faster execution.

fix

Runs the ESLint linter in fix mode to automatically fix code style and syntax issues in TypeScript files (.tsx, .ts). It runs in quiet mode and utilizes caching for faster execution.

test

Runs the importAsana.ts file using ts-node and passes the input and output files as command-line arguments. It is used for testing the import functionality by specifying an Asana JSON input file and generating an Asana import file in the Focalboard format.

debug:test

Runs the importAsana.ts file using ts-node with debugging enabled on port 5858. It is used for debugging purposes while testing the import functionality.

Dev Dependencies

  • @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
{
  "name": "focalboard-asana-importer",
  "version": "1.0.0",
  "private": true,
  "description": "",
  "main": "importAsana.js",
  "scripts": {
    "lint": "eslint --ext .tsx,.ts . --quiet --cache",
    "fix": "eslint --ext .tsx,.ts . --quiet --fix --cache",
    "test": "ts-node importAsana.ts -i test/asana.json -o test/asana-import.focalboard",
    "debug:test": "node --inspect=5858 -r ts-node/register importAsana.ts -i test/asana.json -o test/asana-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"
  }
}