-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.71 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
{
"name": "use-shiki",
"version": "1.0.0",
"description": "React hook for using Shiki syntax highlighter",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/rfoel/use-shiki.git"
},
"keywords": [
"hook",
"shiki",
"syntax-highlighting"
],
"author": "Rafael Franco",
"license": "MIT",
"bugs": {
"url": "https://github.com/rfoel/use-shiki/issues"
},
"homepage": "https://github.com/rfoel/use-shiki#readme",
"scripts": {
"build:cjs": "esbuild index.ts --bundle --sourcemap --minify --outfile=dist/index.cjs.js --external:react",
"build:esm": "esbuild index.ts --bundle --sourcemap --minify --format=esm --outfile=dist/index.esm.js --external:react",
"build": "npm run build:cjs && npm run build:esm",
"lint": "eslint . --fix",
"postbuild": "npm run types",
"prebuild": "rimraf dist",
"types": "tsc --project tsconfig.build.json",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"shiki": "^0.11.1"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.6",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/react": "^18.0.25",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"esbuild": "^0.15.13",
"eslint": "^8.27.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"typescript": "^4.8.4"
},
"peerDependencies": {
"react": ">= 16.8.0"
}
}