-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
54 lines (54 loc) · 1.58 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
{
"name": "oniguruma-to-es",
"version": "0.9.0",
"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 --external:emoji-regex-xs --external:regex --external:regex-recursion --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",
"textmate-grammar",
"transpiler"
],
"dependencies": {
"emoji-regex-xs": "^1.0.0",
"regex": "^5.1.1",
"regex-recursion": "^5.1.1"
},
"devDependencies": {
"esbuild": "^0.24.2",
"jasmine": "^5.5.0",
"typescript": "~5.7.2",
"vscode-oniguruma": "^2.0.1"
}
}