escape-string-regexp-browser
Version:
Escape RegExp special characters
36 lines (35 loc) • 1.25 kB
JSON
{
"name": "escape-string-regexp-browser",
"description": "Escape RegExp special characters",
"author": "Max Degterev <max@nebenan.de>",
"license": "MIT",
"readmeFilename": "README.md",
"repository": "good-hood-gmbh/escape-string-regexp-browser",
"bugs": "https://github.com/good-hood-gmbh/escape-string-regexp-browser/issues",
"version": "1.1.0",
"keywords": [
"escape-string-regexp",
"regexp",
"browser"
],
"main": "lib/index.js",
"scripts": {
"reinstall": "rm -rf node_modules package-lock.json && npm install && npm run build",
"clean": "rm -rf ./lib/ || exit 1",
"compile": "babel ./node_modules/escape-string-regexp/index.js --out-dir ./lib --config-file ./.babelrc",
"minify": "find ./lib -name '*.js' -exec terser {} -o {} --config-file terser.json \\;",
"build": "npm run clean && npm run compile && npm run minify"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-transform-strict-mode": "^7.2.0",
"@babel/preset-env": "^7.6.3",
"babel-plugin-add-module-exports": "^1.0.2",
"terser": "^5.3.8"
},
"dependencies": {
"escape-string-regexp": "^4.0.0"
}
}