-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
71 lines (71 loc) · 2.05 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
{
"name": "compose-regexp",
"version": "0.7.1",
"description": "A set of functions to build and compose complex regular expressions",
"type": "module",
"exports": {
".": {
"require": "./commonjs/compose-regexp.js",
"default": "./compose-regexp.js",
"types": "./compose-regexp.d.ts"
}
},
"main": "commonjs/compose-regexp.js",
"types": "./compose-regexp.d.ts",
"module": "compose-regexp.js",
"jsnext:main": "compose-regexp.mjs",
"scripts": {
"build": "gosub build-regexp && gosub rollup && gosub compress && gosub build-toc && ls -l dist/*.br",
"build-regexp": "node scripts/build-regexp.js",
"build-toc": "node scripts/build-toc.js",
"cover": "gosub build-regexp && c8 ./node_modules/.bin/ospec",
"compress": "gosub compress-terser && gosub compress-brotli",
"compress-brotli": "brotli -f -o dist/compose-regexp.min.js.br dist/compose-regexp.min.js",
"compress-terser": "terser commonjs/compose-regexp.js -cm --preamble '/**@license MIT-compose-regexp.js-©Pierre-Yves Gérardy*/' > dist/compose-regexp.min.js",
"prepublishOnly": "node --no-warnings scripts/prepublish.js",
"postpublish": "node ./scripts/postpublish.js",
"rollup": "rollup compose-regexp.js -o commonjs/compose-regexp.js -f umd -n composeRegexp --amd.id compose-regexp",
"test": "gosub build-regexp && ospec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pygy/compose-regexp.js.git"
},
"keywords": [
"compose",
"regexp",
"builder",
"regular",
"expression",
"combinator"
],
"author": "Pierre-Yves Gérardy",
"license": "MIT",
"bugs": {
"url": "https://github.com/pygy/compose-regexp.js/issues"
},
"homepage": "https://github.com/pygy/compose-regexp.js#readme",
"devDependencies": {
"c8": "^7.11.2",
"gosub": "1.1.0",
"ospec": "^4.1.4",
"rollup": "^3.11.0",
"stable-version": "npm:[email protected]",
"terser": "^5.16.1"
},
"c8": {
"reporter": [
"html",
"text",
"lcov"
],
"lines": 95,
"branches": "82",
"statements": "95",
"exclude": [
"test-utils/*.*",
"node_modules/**/*",
"tests/*.*"
]
}
}