UNPKG

2.25 kBJSONView Raw
1{
2 "name": "is-regex",
3 "version": "1.1.4",
4 "description": "Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag",
5 "author": "Jordan Harband <ljharb@gmail.com>",
6 "funding": {
7 "url": "https://github.com/sponsors/ljharb"
8 },
9 "license": "MIT",
10 "main": "index.js",
11 "scripts": {
12 "prepublishOnly": "safe-publish-latest",
13 "prepublish": "not-in-publish || npm run prepublishOnly",
14 "pretest": "npm run lint",
15 "test": "npm run tests-only && npm run test:harmony",
16 "tests-only": "nyc node test",
17 "test:harmony": "nyc node --harmony --es-staging test",
18 "test:corejs": "nyc tape test-corejs.js",
19 "posttest": "npx aud --production",
20 "lint": "eslint .",
21 "eccheck": "eclint check *.js **/*.js > /dev/null",
22 "version": "auto-changelog && git add CHANGELOG.md",
23 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
24 },
25 "repository": {
26 "type": "git",
27 "url": "git://github.com/inspect-js/is-regex.git"
28 },
29 "bugs": {
30 "url": "https://github.com/inspect-js/is-regex/issues"
31 },
32 "homepage": "https://github.com/inspect-js/is-regex",
33 "keywords": [
34 "regex",
35 "regexp",
36 "is",
37 "regular expression",
38 "regular",
39 "expression"
40 ],
41 "dependencies": {
42 "call-bind": "^1.0.2",
43 "has-tostringtag": "^1.0.0"
44 },
45 "devDependencies": {
46 "@ljharb/eslint-config": "^17.6.0",
47 "aud": "^1.1.5",
48 "auto-changelog": "^2.3.0",
49 "core-js": "^3.16.0",
50 "eclint": "^2.8.1",
51 "eslint": "^7.32.0",
52 "foreach": "^2.0.5",
53 "nyc": "^10.3.2",
54 "safe-publish-latest": "^1.1.4",
55 "tape": "^5.3.0"
56 },
57 "testling": {
58 "files": "test/index.js",
59 "browsers": [
60 "iexplore/6.0..latest",
61 "firefox/3.0..6.0",
62 "firefox/15.0..latest",
63 "firefox/nightly",
64 "chrome/4.0..10.0",
65 "chrome/20.0..latest",
66 "chrome/canary",
67 "opera/10.0..latest",
68 "opera/next",
69 "safari/4.0..latest",
70 "ipad/6.0..latest",
71 "iphone/6.0..latest",
72 "android-browser/4.2"
73 ]
74 },
75 "engines": {
76 "node": ">= 0.4"
77 },
78 "auto-changelog": {
79 "output": "CHANGELOG.md",
80 "template": "keepachangelog",
81 "unreleased": false,
82 "commitLimit": false,
83 "backfillLimit": false,
84 "hideCredit": true
85 }
86}