-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
105 lines (105 loc) · 2.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "pdfc",
"version": "0.0.0-development",
"description": "PDF compiler for your source code",
"author": "Sachin Raja <sachinraja2349@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sachinraja/pdfc.git"
},
"bugs": {
"url": "https://github.com/sachinraja/pdfc/issues"
},
"homepage": "https://github.com/sachinraja/pdfc#readme",
"keywords": [
"shiki",
"pdf",
"syntax-highlighter",
"highlighter",
"compiler"
],
"type": "module",
"exports": {
".": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"bin": "dist/bin.js",
"sideEffects": false,
"scripts": {
"clean": "rimraf dist",
"build": "pnpm clean && tsup src/index.ts src/bin.ts --format esm --dts-resolve",
"format": "prettier -w .",
"lint:format": "prettier -c .",
"lint:types": "tsc",
"lint:xo": "xo",
"lint": "run-p lint:*",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --passWithNoTests",
"prepare": "husky install",
"prepublishOnly": "pnpm build",
"cli": "node --loader ts-node/esm --experimental-specifier-resolution=node src/bin.ts"
},
"dependencies": {
"clipanion": "^3.2.0-rc.3",
"colorette": "^2.0.16",
"filename2shiki": "^1.1.0",
"globby": "^13.0.0",
"is-path-inside": "^4.0.0",
"pdf-lib": "^1.17.0",
"shiki": "^0.14.0",
"shiki-renderer-pdf": "^1.1.2"
},
"devDependencies": {
"@swc/core": "1.2.111",
"@swc/helpers": "0.2.14",
"@swc/jest": "0.2.5",
"@types/jest": "27.0.3",
"@types/node": "16.11.9",
"@types/picomatch": "2.3.0",
"eslint-config-prettier": "8.3.0",
"husky": "7.0.4",
"jest": "27.3.1",
"lint-staged": "11.2.6",
"npm-run-all": "4.1.5",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"semantic-release": "18.0.0",
"ts-node": "10.4.0",
"tsup": "5.7.4",
"typescript": "4.5.2",
"xo": "0.46.4"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"xo": {
"extends": [
"prettier"
]
},
"lint-staged": {
"*.{js,ts,md,json,yaml}": "prettier -w"
},
"ts-node": {
"transpileOnly": true,
"transpiler": "ts-node/transpilers/swc-experimental"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
}
}