-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
55 lines (55 loc) · 1.53 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
{
"name": "oniguruma-to-es",
"version": "0.8.1",
"description": "Convert Oniguruma patterns to native JavaScript RegExp",
"author": "Steven Levithan",
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs"
}
},
"browser": "./dist/index.min.js",
"types": "./types/index.d.ts",
"scripts": {
"bundle:global": "esbuild src/index.js --global-name=OnigurumaToES --bundle --minify --sourcemap --outfile=dist/index.min.js",
"bundle:esm": "esbuild src/index.js --format=esm --bundle --sourcemap --outfile=dist/index.mjs",
"types": "tsc src/index.js --rootDir src --declaration --allowJs --emitDeclarationOnly --outDir types",
"prebuild": "rm -rf dist/* types/*",
"build": "pnpm run bundle:global && pnpm run bundle:esm && pnpm run types",
"pretest": "pnpm run build",
"test": "jasmine",
"onig:compare": "node scripts/onig-compare.js",
"onig:match": "node scripts/onig-match.js",
"prepare": "pnpm test"
},
"files": [
"dist",
"types"
],
"repository": {
"type": "git",
"url": "git+https://github.com/slevithan/oniguruma-to-es.git"
},
"keywords": [
"regex",
"regexp",
"oniguruma",
"onigmo",
"textmate-grammar",
"transpiler"
],
"dependencies": {
"emoji-regex-xs": "^1.0.0",
"regex": "^5.0.2",
"regex-recursion": "^5.0.0"
},
"devDependencies": {
"esbuild": "^0.24.0",
"jasmine": "^5.5.0",
"typescript": "^5.7.2",
"vscode-oniguruma": "^2.0.1"
}
}