format-string-by-pattern
Version:
A module that formats a string based on a pattern
77 lines (76 loc) • 2.08 kB
JSON
{
"name": "format-string-by-pattern",
"version": "1.2.2",
"description": "A module that formats a string based on a pattern",
"main": "dist/format-string-by-pattern.umd.js",
"module": "dist/format-string-by-pattern.es5.js",
"typings": "dist/types/index.d.ts",
"author": {
"name": "Arthur Denner",
"email": "arthurdenner7@gmail.com"
},
"license": "MIT",
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist docs",
"build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run typedoc",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test",
"typedoc": "typedoc src/index.ts",
"validate": "npm run test:prod && npm run build"
},
"files": [
"dist"
],
"keywords": [
"format",
"string",
"pattern"
],
"repository": {
"type": "git",
"url": "https://github.com/arthurdenner/format-string-by-pattern.git"
},
"bugs": {
"url": "https://github.com/arthurdenner/format-string-by-pattern/issues"
},
"homepage": "https://github.com/arthurdenner/format-string-by-pattern#readme",
"engines": {
"node": ">=10"
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/jest": "26.0.20",
"@types/node": "14.14.22",
"cross-env": "7.0.3",
"husky": "4.3.8",
"jest": "26.6.3",
"jest-config": "26.6.3",
"lint-staged": "10.5.3",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"rollup": "2.38.0",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.29.0",
"ts-jest": "26.4.4",
"ts-node": "9.1.1",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tslint-config-standard": "9.0.0",
"typedoc": "0.20.18",
"typescript": "3.9.7"
}
}