UNPKG

@discretetom/r-compose

Version:

Compose RegExp in JavaScript in a readable and maintainable way.

44 lines (43 loc) 1.36 kB
{ "name": "@discretetom/r-compose", "description": "Compose RegExp in JavaScript in a readable and maintainable way.", "version": "0.2.2", "main": "out/index.js", "types": "out/index.d.ts", "license": "MIT", "scripts": { "build": "tsc --build && esbuild src/index.ts --bundle --minify --global-name=rCompose --outfile=dist/r-compose.min.js", "clean": "tsc --build --clean", "test": "jest", "test:coverage": "jest --coverage", "format": "prettier --write --end-of-line auto \"src/**/*.ts\"", "format:check": "prettier --check --end-of-line auto \"src/**/*.ts\"", "lint": "eslint src/", "lint:fix": "eslint --fix src/", "prepublishOnly": "yarn format:check && yarn lint && yarn test:coverage && yarn clean && yarn build" }, "devDependencies": { "@types/jest": "^29.5.8", "@types/node": "^20.8.10", "@typescript-eslint/eslint-plugin": "^6.10.0", "@typescript-eslint/parser": "^6.10.0", "esbuild": "^0.19.10", "eslint": "^8.53.0", "jest": "^29.7.0", "prettier": "^3.0.3", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "repository": { "url": "https://github.com/DiscreteTom/r-compose.git", "type": "git" }, "bugs": { "url": "https://github.com/DiscreteTom/r-compose/issues" }, "keywords": [ "regex", "RegExp" ] }