/
package.json
66 lines (66 loc) · 1.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "kindle-highlight-to-markdown",
"version": "1.1.2",
"description": "Convert Your Kindle highlight & Note to Markdown/JSON",
"homepage": "https://github.com/azu/kindle-highlight-to-markdown",
"bugs": {
"url": "https://github.com/azu/kindle-highlight-to-markdown/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/kindle-highlight-to-markdown.git"
},
"license": "MIT",
"author": "azu",
"sideEffects": false,
"main": "lib/index.js",
"module": "module/index.js",
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"bin/",
"lib/",
"module/",
"src/"
],
"scripts": {
"main": "ts-node test/node.ts",
"build": "tsc -p . && tsc -p ./tsconfig.module.json",
"clean": "rimraf lib/ module/",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks",
"prepublishOnly": "npm run clean && npm run build",
"test": "# mocha \"test/**/*.ts\"",
"watch": "tsc -p . --watch"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "none"
},
"devDependencies": {
"@types/jsdom": "^16.2.14",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.8",
"lint-staged": "^12.1.7",
"mocha": "^9.1.4",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"ts-node-test-register": "^10.0.0",
"typescript": "^4.5.4",
"jsdom": "^19.0.0"
},
"dependencies": {
"markdown-function": "^1.1.1"
}
}