2020-08-25 23:57:08 +00:00
|
|
|
{
|
|
|
|
"name": "is-regex",
|
2022-11-10 10:43:16 +00:00
|
|
|
"version": "1.1.4",
|
2020-08-25 23:57:08 +00:00
|
|
|
"description": "Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag",
|
|
|
|
"author": "Jordan Harband <ljharb@gmail.com>",
|
|
|
|
"funding": {
|
|
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2022-11-10 10:43:16 +00:00
|
|
|
"prepublishOnly": "safe-publish-latest",
|
|
|
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
2020-08-25 23:57:08 +00:00
|
|
|
"pretest": "npm run lint",
|
2021-02-26 03:58:33 +00:00
|
|
|
"test": "npm run tests-only && npm run test:harmony",
|
|
|
|
"tests-only": "nyc node test",
|
|
|
|
"test:harmony": "nyc node --harmony --es-staging test",
|
2022-11-10 10:43:16 +00:00
|
|
|
"test:corejs": "nyc tape test-corejs.js",
|
2020-08-25 23:57:08 +00:00
|
|
|
"posttest": "npx aud --production",
|
|
|
|
"lint": "eslint .",
|
|
|
|
"eccheck": "eclint check *.js **/*.js > /dev/null",
|
|
|
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
|
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-02-26 03:58:33 +00:00
|
|
|
"url": "git://github.com/inspect-js/is-regex.git"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
|
|
|
"bugs": {
|
2021-02-26 03:58:33 +00:00
|
|
|
"url": "https://github.com/inspect-js/is-regex/issues"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
2021-02-26 03:58:33 +00:00
|
|
|
"homepage": "https://github.com/inspect-js/is-regex",
|
2020-08-25 23:57:08 +00:00
|
|
|
"keywords": [
|
|
|
|
"regex",
|
|
|
|
"regexp",
|
|
|
|
"is",
|
|
|
|
"regular expression",
|
|
|
|
"regular",
|
|
|
|
"expression"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
2021-02-26 03:58:33 +00:00
|
|
|
"call-bind": "^1.0.2",
|
2022-11-10 10:43:16 +00:00
|
|
|
"has-tostringtag": "^1.0.0"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-11-10 10:43:16 +00:00
|
|
|
"@ljharb/eslint-config": "^17.6.0",
|
|
|
|
"aud": "^1.1.5",
|
|
|
|
"auto-changelog": "^2.3.0",
|
|
|
|
"core-js": "^3.16.0",
|
2020-08-25 23:57:08 +00:00
|
|
|
"eclint": "^2.8.1",
|
2022-11-10 10:43:16 +00:00
|
|
|
"eslint": "^7.32.0",
|
2020-08-25 23:57:08 +00:00
|
|
|
"foreach": "^2.0.5",
|
2021-02-26 03:58:33 +00:00
|
|
|
"nyc": "^10.3.2",
|
2020-08-25 23:57:08 +00:00
|
|
|
"safe-publish-latest": "^1.1.4",
|
2022-11-10 10:43:16 +00:00
|
|
|
"tape": "^5.3.0"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
|
|
|
"testling": {
|
2022-11-10 10:43:16 +00:00
|
|
|
"files": "test/index.js",
|
2020-08-25 23:57:08 +00:00
|
|
|
"browsers": [
|
|
|
|
"iexplore/6.0..latest",
|
|
|
|
"firefox/3.0..6.0",
|
|
|
|
"firefox/15.0..latest",
|
|
|
|
"firefox/nightly",
|
|
|
|
"chrome/4.0..10.0",
|
|
|
|
"chrome/20.0..latest",
|
|
|
|
"chrome/canary",
|
2022-11-10 10:43:16 +00:00
|
|
|
"opera/10.0..latest",
|
2020-08-25 23:57:08 +00:00
|
|
|
"opera/next",
|
|
|
|
"safari/4.0..latest",
|
|
|
|
"ipad/6.0..latest",
|
|
|
|
"iphone/6.0..latest",
|
|
|
|
"android-browser/4.2"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 0.4"
|
|
|
|
},
|
|
|
|
"auto-changelog": {
|
|
|
|
"output": "CHANGELOG.md",
|
|
|
|
"template": "keepachangelog",
|
|
|
|
"unreleased": false,
|
|
|
|
"commitLimit": false,
|
|
|
|
"backfillLimit": false,
|
|
|
|
"hideCredit": true
|
|
|
|
}
|
|
|
|
}
|