-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.95 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.95 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
{
"name": "regex",
"version": "6.1.0",
"description": "Regex template tag with extended syntax, context-aware interpolation, and always-on best practices",
"author": "Steven Levithan",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/regex.d.ts",
"default": "./dist/esm/regex.js"
},
"require": {
"types": "./dist/cjs/regex.d.ts",
"default": "./dist/cjs/regex.js"
}
},
"./internals": {
"types": "./dist/esm/internals.d.ts",
"import": "./src/internals.js"
}
},
"browser": "./dist/regex.min.js",
"main": "./dist/cjs/regex.js",
"types": "./dist/cjs/regex.d.ts",
"scripts": {
"bundle:global": "esbuild src/regex.js --global-name=Regex --bundle --minify --sourcemap --outfile=dist/regex.min.js",
"bundle:esm": "esbuild src/regex.js --format=esm --bundle --sourcemap --outfile=dist/esm/regex.js",
"bundle:cjs": "esbuild src/regex.js --format=cjs --bundle --sourcemap --outfile=dist/cjs/regex.js",
"types": "tsc src/regex.js src/internals.js --rootDir src --declaration --allowJs --emitDeclarationOnly --outDir types",
"prebuild": "rm -rf dist/* types/*",
"build": "pnpm run bundle:global && pnpm run bundle:esm && pnpm run bundle:cjs && pnpm run types",
"postbuild": "node scripts/postbuild.js",
"pretest": "pnpm run build",
"test": "jasmine && tsc --project spec/types/tsconfig.test.json && attw --pack . --entrypoints .",
"prepublishOnly": "pnpm test"
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/slevithan/regex.git"
},
"keywords": [
"regex",
"regexp"
],
"dependencies": {
"regex-utilities": "^2.3.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"esbuild": "^0.27.3",
"expect-type": "^1.3.0",
"jasmine": "^6.1.0",
"typescript": "^5.9.3"
},
"packageManager": "pnpm@10.30.3"
}