package.json
TLDR
This file is a package.json
file for the focalboard-notion-importer
project. It contains information about the project, its dependencies, and the available scripts.
Scripts
lint
Runs the ESLint tool to lint TypeScript and TypeScript files in the project directory. It uses the .tsx
and .ts
file extensions and runs in quiet mode, using the cache for faster execution.
fix
Runs the ESLint tool to fix linting issues in TypeScript and TypeScript files in the project directory. It uses the .tsx
and .ts
file extensions and runs in quiet mode, fixing issues automatically using the cache.
test
Runs the importNotion.ts
file using the ts-node
tool with specific command line parameters. It imports data from the test/export
directory and exports it to the test/notion-import.focalboard
file.
debug:test
Runs the importNotion.ts
file using the ts-node
tool with specific command line parameters for debugging. It imports data from the test/export
directory and exports it to the test/notion-import.focalboard
file while enabling the Node.js inspector on port 5858
.
Dev Dependencies
-
@types/minimist
: Provides TypeScript typings for theminimist
library. -
@types/node
: Provides TypeScript typings for Node.js. -
@typescript-eslint/eslint-plugin
: ESLint plugin for TypeScript. -
@typescript-eslint/parser
: Parser for ESLint to analyze TypeScript code. -
eslint
: Tool for linting JavaScript and TypeScript code. -
ts-node
: TypeScript execution and REPL for Node.js. -
typescript
: TypeScript compiler.
Dependencies
-
csvtojson
: Library for converting CSV files to JSON. -
minimist
: Command-line argument parser.
{
"name": "focalboard-notion-importer",
"version": "1.0.0",
"private": true,
"description": "",
"main": "importNotion.js",
"scripts": {
"lint": "eslint --ext .tsx,.ts . --quiet --cache",
"fix": "eslint --ext .tsx,.ts . --quiet --fix --cache",
"test": "ts-node importNotion.ts -i test/export -o test/notion-import.focalboard",
"debug:test": "node --inspect=5858 -r ts-node/register importNotion.ts -i test/export -o test/notion-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": {
"csvtojson": "^2.0.10",
"minimist": "^1.2.6"
}
}