package.json
TLDR
This file is a package.json
file for the focalboard-todoist-importer
project. It contains information about the project, its dependencies, and scripts to run.
Scripts
lint
Runs the ESLint static code analysis tool to check for coding style and potential errors in .tsx
and .ts
files. It runs quietly and uses a cache.
fix
Runs the ESLint tool with the --fix
flag to automatically fix coding style issues and potential errors in .tsx
and .ts
files. It runs quietly and uses a cache.
test
Runs the importTodoist.ts
script with the -i
flag to specify the input file (test/todoist.json
) and the -o
flag to specify the output file (test/todoist-import.focalboard
). This script is used for testing.
debug:test
Runs the importTodoist.ts
script with debugging enabled. It listens on port 5858
and uses ts-node/register
to transpile and run TypeScript files. The input file (test/todoist.json
) and the output file (test/todoist-import.focalboard
) are specified with the -i
and -o
flags, respectively.
Dependencies
-
@types/minimist
: version^1.2.1
-
@types/node
: version^14.14.28
-
@typescript-eslint/eslint-plugin
: version^4.15.0
-
@typescript-eslint/parser
: version^4.15.0
-
eslint
: version^7.20.0
-
ts-node
: version^9.1.1
-
typescript
: version^4.1.5
{
"name": "focalboard-todoist-importer",
"version": "1.0.0",
"private": true,
"description": "",
"main": "importTodoist.ts",
"scripts": {
"lint": "eslint --ext .tsx,.ts . --quiet --cache",
"fix": "eslint --ext .tsx,.ts . --quiet --fix --cache",
"test": "ts-node importTodoist.ts -i test/todoist.json -o test/todoist-import.focalboard",
"debug:test": "node --inspect=5858 -r ts-node/register importTodoist.ts -i test/todoist.json -o test/todoist-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"
}
}