generated from ryansonshine/typescript-npm-package-template
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
94 lines (94 loc) · 3.66 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
91
92
93
94
{
"scripts": {
"test": "vitest",
"build": "npm run test -- --run && tsc && cp ./src/css/*.css dist/",
"build-only": "tsc && cp ./src/css/*.css dist/",
"clean": "rimraf ./dist/",
"semantic-release": "semantic-release",
"cmdhelp": "ts-node src/index.ts",
"// note that we're not using ts-node at the moment because of ": "https://github.com/Codex-/cosmiconfig-typescript-loader/issues/70",
"ts": "tsc && rimraf ./docs/ && cross-var node dist/index.js",
"// typescript check": "",
"tsc": "tsc",
"// test out with a private sample notion db": "",
"large-site-test": "npm run ts -- -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --locales en,fr --log-level debug",
"pull-test-tagged": "npm run ts -- -n $DOCU_NOTION_INTEGRATION_TOKEN -r $DOCU_NOTION_TEST_ROOT_PAGE_ID --log-level info --status-tag test",
"pull-test-css": "npm run ts -- --css-output-directory ./test/css -n $DOCU_NOTION_INTEGRATION_TOKEN -r $DOCU_NOTION_TEST_ROOT_PAGE_ID --log-level debug --status-tag test",
"pull-sample-site": "npm run ts -- -n $DOCU_NOTION_INTEGRATION_TOKEN -r $DOCU_NOTION_SAMPLE_ROOT_PAGE --log-level debug",
"// test with a semi-stable/public site:": "",
"pull-sample": "npm run 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": "npm run ts -- -n $DOCU_NOTION_INTEGRATION_TOKEN -r $DOCU_NOTION_SAMPLE_ROOT_PAGE -m ./sample --img-output-path ./sample_img",
"lint": "eslint . --ext .ts"
},
"//file-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",
"//notion-client@4": "also ESM related problem",
"//note: ts-node": "really is a runtime dependency",
"dependencies": {
"@notionhq/client": "2.2.3",
"axios": "^1.6.8",
"chalk": "^4.1.2",
"commander": "^9.2.0",
"cosmiconfig": "^8.0.0",
"cosmiconfig-typescript-loader": "^4.3.0",
"file-type": "16.5.3",
"fs-extra": "^10.1.0",
"limiter": "^2.1.0",
"markdown-table": "^2.0.0",
"notion-client": "^4",
"notion-to-md": "3.1.1",
"path": "^0.12.7",
"sanitize-filename": "^1.6.3",
"ts-node": "^10.2.1"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/markdown-table": "^2.0.0",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@vitest/ui": "^0.30.1",
"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",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^4.1.2",
"semantic-release": "^19.0.2",
"typescript": "^4.6.4",
"vite": "^4.2.1",
"vitest": "^0.30.1"
},
"name": "@sillsdev/docu-notion",
"description": "Download Notion pages as markdown and image files, preserving hierarchy and enabling workflow properties. Works with Docusaurus.",
"license": "MIT",
"author": {
"name": "SIL Language Software Development",
"email": "[email protected]",
"url": "https://github.com/sillsdev"
},
"keywords": [
"docusaurus",
"notion",
"markdown",
"documentation"
],
"bugs": {
"url": "https://github.com/sillsdev/docu-notion/issues"
},
"homepage": "https://github.com/sillsdev/docu-notion#readme",
"main": "./dist/index.js",
"bin": "dist/index.js",
"files": [
"dist/**/*"
],
"publishConfig": {
"access": "public"
},
"volta": {
"node": "18.16.0"
}
}