-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
148 lines (148 loc) · 3.75 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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "react-native-shiki-engine",
"version": "0.1.8",
"packageManager": "[email protected]",
"description": "Shiki syntax highlighting for React Native. Zero bridge overhead with native Oniguruma regex engine.",
"author": "Ryan Skinner <[email protected]> (https://github.com/skiniks)",
"license": "MIT",
"homepage": "https://github.com/skiniks/react-native-shiki-engine#readme",
"repository": {
"type": "git",
"url": "https://github.com/skiniks/react-native-shiki-engine.git"
},
"bugs": {
"url": "https://github.com/skiniks/react-native-shiki-engine/issues"
},
"keywords": [
"react-native",
"ios",
"android",
"shiki",
"oniguruma",
"regex",
"syntax-highlighting",
"textmate",
"turbo"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"workspaces": [
"example"
],
"files": [
"*.podspec",
"android/CMakeLists.txt",
"android/build.gradle",
"android/gradle.properties",
"android/src/main",
"cpp",
"ios",
"lib/commonjs",
"lib/module",
"lib/typescript",
"react-native.config.js",
"src"
],
"scripts": {
"prepare": "git submodule update --init --recursive && bob build",
"prepack": "bob build",
"clean": "del-cli android/app android/build example/android/build example/android/app/build example/ios/build lib build",
"pods": "cd example && yarn pods",
"update:submodule": "git submodule update --remote --merge",
"codegen": "npx react-native codegen",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:cpp": "scripts/clang-format.sh",
"lint:all": "yarn lint:fix && yarn lint:cpp",
"release": "release-it"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"dependencies": {
"@shikijs/types": "^1.24.4",
"@shikijs/vscode-textmate": "^9.3.1"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.1",
"@eslint-react/eslint-plugin": "^1.22.2",
"@react-native-community/cli": "^15.1.3",
"@release-it/conventional-changelog": "^9.0.4",
"@types/react": "^19.0.2",
"del-cli": "^6.0.0",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"react": "^18.3.1",
"react-native": "^0.76.5",
"react-native-builder-bob": "^0.35.2",
"release-it": "^17.11.0",
"typescript": "^5.7.2"
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "chore(deps)",
"section": "⬆️ Dependency Upgrades"
},
{
"type": "docs",
"section": "📚 Documentation"
},
{
"type": "feat",
"section": "✨ Features"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "perf",
"section": "🐎 Performance Improvements"
}
]
}
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.json"
}
]
]
},
"codegenConfig": {
"name": "NativeShikiEngineSpec",
"type": "modules",
"jsSrcsDir": "src"
}
}