-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 3.36 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 3.36 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@aashari/nodejs-confluence-export",
"version": "1.1.2",
"description": "CLI tool to export Confluence pages by space with flexible filtering options.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"_moduleNotes": "Although source code uses ESM syntax, the build output target is CommonJS to align with Node.js compatibility and patterns seen in related MCP servers. tsconfig.json's 'module': 'NodeNext' handles the input syntax, while tsc outputs CJS.",
"type": "commonjs",
"repository": {
"type": "git",
"url": "https://github.com/aashari/nodejs-confluence-export.git"
},
"bin": {
"confluence-export": "./dist/index.js"
},
"scripts": {
"prepare": "npm run build",
"prebuild": "rimraf dist",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch",
"test:cov": "NODE_ENV=test jest --coverage",
"dev:cli": "DEBUG=true npm run build && DEBUG=true node dist/index.js",
"start:cli": "npm run build && node dist/index.js",
"typecheck": "tsc --noEmit",
"tsprune": "ts-prune --error",
"update:check": "npx npm-check-updates",
"update:deps": "npx npm-check-updates -u && npm install --legacy-peer-deps",
"update:version": "node scripts/update-version.js",
"publish:npm": "npm publish"
},
"keywords": [
"confluence",
"export",
"cli",
"typescript",
"nodejs",
"atlassian"
],
"author": "Andi Ashari",
"license": "ISC",
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.2",
"@semantic-release/npm": "^12.0.1",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.14",
"@types/turndown": "^5.0.5",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.4.0",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.2",
"ts-prune": "^0.10.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.0",
"semantic-release": "^24.2.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"dependencies": {
"@commander-js/extra-typings": "^13.1.0",
"commander": "^13.1.0",
"dotenv": "^16.5.0",
"fast-safe-stringify": "^2.1.1",
"fs-extra": "^11.3.0",
"js-yaml": "^4.1.0",
"node-fetch": "^3.3.2",
"turndown": "^7.2.0",
"zod": "^3.24.4"
},
"directories": {
"example": "examples"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/src/**/*.test.ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.spec.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/coverage/"
],
"coverageReporters": [
"text",
"lcov",
"json-summary"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"(.*)\\.(js|jsx)$": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"engines": {
"node": ">=18.0.0"
}
}