@rpearce/flexible-string-replace
Version:
🧶 Safely replace any part of a string with anything. Example: useful for replacing substrings with JSX in React
86 lines (85 loc) • 2.59 kB
JSON
{
"name": "@rpearce/flexible-string-replace",
"version": "1.1.0",
"description": "🧶 Safely replace any part of a string with anything. Example: useful for replacing substrings with JSX in React",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"repository": {
"type": "git",
"url": "git@github.com:rpearce/flexible-string-replace.git"
},
"homepage": "https://github.com/rpearce/flexible-string-replace",
"bugs": "https://github.com/rpearce/flexible-string-replace/issues",
"author": "Robert Pearce <me@robertwpearce.com>",
"license": "Unlicense",
"keywords": [
"string-replace",
"string-manipulation",
"string-interpolation",
"replace-string",
"replace-text",
"react"
],
"tags": [
"string-replace",
"string-manipulation",
"string-interpolation",
"replace-string",
"replace-text",
"react"
],
"files": [
"AUTHORS",
"LICENSE",
"README.md",
"dist/"
],
"sideEffects": false,
"scripts": {
"build": "run-s clean build:js",
"build:js": "rollup -c ./rollup.config.js",
"build:js:watch": "yarn build:js -- -w",
"ci": "run-p lint build test",
"clean": "run-p clean:dist",
"clean:dist": "rm -rf ./dist",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"coverage": "jest --coverage --coverageReporters=text-lcov | coveralls",
"lint": "eslint . --ext .js,.ts,.tsx",
"prepublishOnly": "run-p lint test && yarn build:js",
"test": "jest"
},
"devDependencies": {
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-node-resolve": "7.1.1",
"@testing-library/react": "10.0.1",
"@types/jest": "25.1.4",
"@types/node": "13.9.1",
"@types/react": "16.9.23",
"@types/react-dom": "16.9.5",
"@typescript-eslint/eslint-plugin": "2.23.0",
"@typescript-eslint/parser": "2.23.0",
"all-contributors-cli": "6.14.0",
"coveralls": "3.0.9",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.19.0",
"husky": "4.2.3",
"jest": "25.1.0",
"lint-staged": "10.0.8",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"react": "16.13.0",
"react-dom": "16.13.0",
"rollup": "2.0.6",
"rollup-plugin-postcss": "2.4.1",
"rollup-plugin-terser": "5.3.0",
"rollup-plugin-typescript2": "0.26.0",
"ts-jest": "25.2.1",
"tslib": "1.11.1",
"typescript": "3.8.3"
}
}