-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.93 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.93 KB
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
{
"name": "oniguruma-to-es",
"version": "4.3.4",
"description": "Convert Oniguruma patterns to native JavaScript RegExp",
"author": "Steven Levithan",
"license": "MIT",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"browser": "./dist/index.min.js",
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/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:oniguruma-parser --external:regex --external:regex-recursion --outfile=dist/esm/index.js",
"bundle:cjs": "esbuild src/index.js --format=cjs --bundle --sourcemap --outfile=dist/cjs/index.js",
"types": "tsc src/index.js --rootDir src --declaration --allowJs --emitDeclarationOnly --outDir types --lib ESNext",
"prebuild": "rm -rf dist/* types/*",
"build": "pnpm bundle:global && pnpm bundle:esm && pnpm bundle:cjs && pnpm types",
"postbuild": "node scripts/postbuild.js",
"pretest": "pnpm build",
"test": "jasmine",
"onig:match": "node scripts/onig-match.js",
"prepublishOnly": "pnpm test"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/slevithan/oniguruma-to-es.git"
},
"keywords": [
"regex",
"regexp",
"oniguruma",
"textmate-grammar",
"transpiler"
],
"dependencies": {
"oniguruma-parser": "^0.12.1",
"regex": "^6.1.0",
"regex-recursion": "^6.0.2"
},
"devDependencies": {
"esbuild": "^0.27.3",
"jasmine": "^6.1.0",
"typescript": "^5.9.3",
"vscode-oniguruma": "^2.0.1"
},
"packageManager": "pnpm@10.32.0"
}