UNPKG

@textlint/regexp-string-matcher

Version:
78 lines (77 loc) 1.97 kB
{ "name": "@textlint/regexp-string-matcher", "version": "2.0.2", "description": "Regexp-like string matcher.", "keywords": [ "helper", "regexp", "util" ], "homepage": "https://github.com/textlint/regexp-string-matcher", "bugs": { "url": "https://github.com/textlint/regexp-string-matcher/issues" }, "license": "MIT", "author": "azu", "files": [ "bin/", "lib/", "src/" ], "main": "lib/regexp-string-matcher.js", "types": "lib/regexp-string-matcher.d.ts", "directories": { "lib": "lib", "test": "test" }, "repository": { "type": "git", "url": "https://github.com/textlint/regexp-string-matcher.git" }, "scripts": { "build": "cross-env NODE_ENV=production tsc -p .", "precommit": "lint-staged", "postcommit": "git reset", "prepublish": "npm run --if-present build", "test:updateSnapshot": "cross-env UPDATE_SNAPSHOT=1 npm test", "test": "mocha \"test/**/*.ts\"", "watch": "tsc -p . --watch", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", "prepare": "git config --local core.hooksPath .githooks" }, "prettier": { "singleQuote": false, "printWidth": 120, "tabWidth": 4, "trailingComma": "none" }, "devDependencies": { "@types/lodash.sortby": "^4.7.3", "@types/lodash.uniq": "^4.5.3", "@types/lodash.uniqwith": "^4.5.3", "@types/mocha": "^9.1.1", "@types/node": "^17.0.34", "@types/to-regex": "^3.0.0", "cross-env": "^7.0.3", "lint-staged": "^12.4.1", "mocha": "^10.0.0", "prettier": "^2.6.2", "ts-node": "^10.7.0", "ts-node-test-register": "^10.0.0", "typescript": "^4.6.4" }, "publishConfig": { "access": "public" }, "lint-staged": { "*.{js,jsx,ts,tsx,css}": [ "prettier --write" ] }, "dependencies": { "escape-string-regexp": "^4.0.0", "lodash.sortby": "^4.7.0", "lodash.uniq": "^4.5.0", "lodash.uniqwith": "^4.5.0" } }