focalboard/import/jira/package.json
Chen-I Lim 0e10f52317
Import jira (#1561)
* Load and parse xml

* Priority and status

* Replace foreach

* type property

* explicitArray false

* Parse description html

* Use turndown to convert html

* Allow optional priority

* Import assignee and reporter as Select

* Store original URL

* Created date

* Created date

* Update readme

* .gitignore

* Update readme

* Update import readme

* Fix readme

* Update import/jira/README.md

Fix typo.

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* Remove commented out line

* Add basic Jest test

* Test that import was complete

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-10-20 09:13:53 -07:00

50 lines
1.3 KiB
JSON

{
"name": "focalboard-jira-importer",
"version": "1.0.0",
"private": true,
"description": "",
"main": "importJira.js",
"scripts": {
"lint": "eslint --ext .tsx,.ts . --quiet --cache",
"fix": "eslint --ext .tsx,.ts . --quiet --fix --cache",
"test": "jest",
"testRun": "ts-node importJira.ts -i test/jira_export.xml -o test/jira-import.focalboard",
"debug:test": "node --inspect=5858 -r ts-node/register importJira.ts -i test/jira_export.xml -o test/jira-import.focalboard"
},
"keywords": [],
"author": "",
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.json"
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"collectCoverage": true,
"collectCoverageFrom": [
"*.{ts,tsx,js,jsx}",
"!test/**"
]
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/minimist": "^1.2.1",
"@types/node": "^14.14.28",
"@types/turndown": "^5.0.1",
"@types/xml2js": "^0.4.9",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"eslint": "^7.20.0",
"jest": "^27.3.1",
"ts-jest": "^27.0.7",
"ts-node": "^9.1.1",
"typescript": "^4.1.5"
},
"dependencies": {
"minimist": "^1.2.5",
"turndown": "^7.1.1",
"xml2js": "^0.4.23"
}
}