forked from sillsdev/docu-notion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 3.52 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "@kryptogo/docu-notion",
"version": "0.0.4",
"description": "Download Notion pages as markdown and image files, preserving hierarchy and enabling workflow properties. Works with Docusaurus.",
"main": "./dist/index.js",
"bin": "dist/index.js",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsc && cp ./src/css/*.css dist/",
"clean": "rm -rf ./dist/",
"semantic-release": "semantic-release",
"typecheck": "tsc --noEmit",
"notion-download": "node dist/index.js",
"cmdhelp": "ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts",
"// test out with a private sample notion db": "",
"pull-test-tagged": "cross-var rm -rf ./docs/ && ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %DOCU_NOTION_INTEGRATION_TOKEN% -r %DOCU_NOTION_TEST_ROOT_PAGE% --log-level debug --status-tag test",
"pull-test-outline": "cross-var rm -rf ./docs/ && ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %DOCU_NOTION_INTEGRATION_TOKEN% -r %DOCU_NOTION_TEST_ROOT_PAGE% --log-level debug",
"// test with a semi-stable/public site:": "",
"pull-sample": "cross-var ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %DOCU_NOTION_INTEGRATION_TOKEN% -r %DOCU_NOTION_SAMPLE_ROOT_PAGE% -m ./sample --locales en,es,fr,de --log-level verbose",
"pull-sample-with-paths": "cross-var ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %DOCU_NOTION_INTEGRATION_TOKEN% -r %DOCU_NOTION_SAMPLE_ROOT_PAGE% -m ./sample --img-output-path ./sample_img"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kryptogo/docu-notion.git"
},
"license": "MIT",
"author": {
"name": "SIL Language Software Development",
"email": "contact@kryptogo.com",
"url": "https://github.com/kryptogo"
},
"engines": {
"node": ">=12.0"
},
"keywords": [
"docusaurus",
"notion",
"markdown"
],
"bugs": {
"url": "https://github.com/kryptogo/docu-notion/issues"
},
"homepage": "https://github.com/kryptogo/docu-notion#readme",
"//file-type": "have to use this version before they switched to ESM, which gives a compile error related to require()",
"//node-fetch@2.6.6file-type": "have to use this version before they switched to ESM, which gives a compile error related to require()",
"//chalk@4": "also ESM related problem",
"dependencies": {
"@notionhq/client": "^1.0.4",
"chalk": "^4.1.2",
"commander": "^9.2.0",
"file-type": "16.5.1",
"fs-extra": "^10.1.0",
"limiter": "^2.1.0",
"markdown-table": "^2.0.0",
"node-fetch": "2.6.6",
"notion-to-md": "^2.5.2",
"path": "^0.12.7",
"postinstall-postinstall": "^2.1.0",
"sanitize-filename": "^1.6.3"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/jest": "^28.1.6",
"@types/markdown-table": "^2.0.0",
"@types/node": "^12.20.11",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"cross-var": "^1.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^28.1.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"semantic-release": "^19.0.2",
"ts-jest": "^28.0.7",
"ts-node": "^10.2.1",
"typescript": "^4.6.4"
},
"release": {
"branches": [
"main"
]
}
}