2.2.0 • Published 6 years ago

@redisrupt/reva-replacer v2.2.0

Weekly downloads
2
License
-
Repository
-
Last release
6 years ago

reva-replacer

npm scripts:

npm run dev

start the app in dev mode with hot reloading enabled.

npm run autofix

attempt to autofix the code. If it cannot fix automatically will report the errors in the console

npm run eslint

run the eslint config against the code. If something fails will be reported to the console

npm run build

creates the build folder with the minimized assets

npm run test

run the tests

npm run bump-major

bumps the package json version using semver major

npm run bump-minor

bumps the package json version using semver minor

npm run bump-patch

bumps the package json version using semver patch

old README

website-external

phone format

(xxx) xxx-xxxx | "default" xxx.xxx.xxxx | "dot" xxx-xxx-xxxx | "hyphen

example

var replacerObj = {
    url: 'http://***.com',
    token: "***",
    phoneClassName: "phone-class-name", // optional
    emailClassName: "email-class-name", // optional
    formClassName: "form-class-name", // optional
    phoneFormat: "hyphen", // optional
}

revaReplacer.replace(replacerObj);
2.2.0

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.2

6 years ago