mark-deco-cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +135 -0
- package/dist/cli.cjs +32515 -0
- package/dist/cli.cjs.map +1 -0
- package/package.json +73 -0
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mark-deco-cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Command-line interface for mark-deco enhanced markdown processor",
|
|
5
|
+
"bin": {
|
|
6
|
+
"mark-deco-cli": "./dist/cli.cjs"
|
|
7
|
+
},
|
|
8
|
+
"main": "./dist/cli.cjs",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "rv --npm . && npm run lint && npm run typecheck && vite build",
|
|
16
|
+
"build:bundle": "ncc build src/cli.ts -o dist-bundle",
|
|
17
|
+
"build:native": "npm run build:bundle && npm run pkg",
|
|
18
|
+
"build:native:all": "npm run build:bundle && npm run pkg:all",
|
|
19
|
+
"build:esbuild": "esbuild src/cli.ts --bundle --platform=node --target=node18 --outfile=dist/cli-esbuild.js --format=cjs --minify",
|
|
20
|
+
"build:ncc": "ncc build src/cli.ts -o dist-ncc --minify",
|
|
21
|
+
"pkg": "pkg dist-bundle/index.js --target node18-linux-x64 --output bin/mark-deco-cli-linux",
|
|
22
|
+
"pkg:all": "pkg dist-bundle/index.js --target node18-linux-x64 --output bin/mark-deco-cli-linux && pkg dist-bundle/index.js --target node18-macos-x64 --output bin/mark-deco-cli-macos && pkg dist-bundle/index.js --target node18-win-x64 --output bin/mark-deco-cli-win.exe",
|
|
23
|
+
"pkg:clean": "rm -rf bin/ dist-bundle/",
|
|
24
|
+
"dev": "vite build --watch",
|
|
25
|
+
"test": "vitest --run",
|
|
26
|
+
"test:watch": "vitest",
|
|
27
|
+
"lint": "eslint . --ext .ts --report-unused-disable-directives",
|
|
28
|
+
"typecheck": "tsc --noEmit",
|
|
29
|
+
"prepublishOnly": "npm run build && npm run test"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"markdown",
|
|
33
|
+
"cli",
|
|
34
|
+
"processor",
|
|
35
|
+
"mark-deco",
|
|
36
|
+
"oembed",
|
|
37
|
+
"frontmatter"
|
|
38
|
+
],
|
|
39
|
+
"author": "",
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"commander": "^12.0.0",
|
|
43
|
+
"mark-deco": "file:.."
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@rollup/plugin-commonjs": "^28.0.3",
|
|
47
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
48
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
49
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
50
|
+
"@types/node": "^20.0.0",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
|
52
|
+
"@typescript-eslint/parser": "^8.33.1",
|
|
53
|
+
"@vercel/ncc": "^0.38.3",
|
|
54
|
+
"esbuild": "^0.21.5",
|
|
55
|
+
"eslint": "^9.28.0",
|
|
56
|
+
"pkg": "^5.8.1",
|
|
57
|
+
"rollup": "^4.42.0",
|
|
58
|
+
"tslib": "^2.8.1",
|
|
59
|
+
"typescript": "^5.0.0",
|
|
60
|
+
"vite": "^6.3.5",
|
|
61
|
+
"vitest": "^1.0.0"
|
|
62
|
+
},
|
|
63
|
+
"pkg": {
|
|
64
|
+
"targets": [
|
|
65
|
+
"node18-linux-x64",
|
|
66
|
+
"node18-macos-x64",
|
|
67
|
+
"node18-win-x64"
|
|
68
|
+
],
|
|
69
|
+
"assets": [],
|
|
70
|
+
"scripts": "dist-bundle/index.js",
|
|
71
|
+
"outputPath": "bin/"
|
|
72
|
+
}
|
|
73
|
+
}
|