2021-03-01 15:26:05 +08:00

119 lines
2.8 KiB
JSON

{
"_args": [
[
"path-to-regexp@6.2.0",
"J:\\Github\\CURD-TS"
]
],
"_from": "path-to-regexp@6.2.0",
"_id": "path-to-regexp@6.2.0",
"_inBundle": false,
"_integrity": "sha1-97OAMzYQTDRoia3s5hRmkjBkXzg=",
"_location": "/path-to-regexp",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "path-to-regexp@6.2.0",
"name": "path-to-regexp",
"escapedName": "path-to-regexp",
"rawSpec": "6.2.0",
"saveSpec": null,
"fetchSpec": "6.2.0"
},
"_requiredBy": [
"/"
],
"_resolved": "http://192.168.250.101:4873/path-to-regexp/-/path-to-regexp-6.2.0.tgz",
"_spec": "6.2.0",
"_where": "J:\\Github\\CURD-TS",
"bugs": {
"url": "https://github.com/pillarjs/path-to-regexp/issues"
},
"description": "Express style path to RegExp utility",
"devDependencies": {
"@size-limit/preset-small-lib": "^4.5.6",
"@types/jest": "^26.0.9",
"@types/node": "^14.0.27",
"@types/semver": "^7.3.1",
"husky": "^4.2.5",
"jest": "^26.2.2",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"rimraf": "^3.0.0",
"semver": "^7.3.2",
"size-limit": "^4.5.6",
"ts-jest": "^26.1.4",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^4.0.3"
},
"files": [
"dist/",
"dist.es2015/"
],
"homepage": "https://github.com/pillarjs/path-to-regexp#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"roots": [
"<rootDir>/src/"
],
"transform": {
"\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"keywords": [
"express",
"regexp",
"route",
"routing"
],
"license": "MIT",
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,yml,yaml}": "npm run prettier"
},
"main": "dist/index.js",
"module": "dist.es2015/index.js",
"name": "path-to-regexp",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pillarjs/path-to-regexp.git"
},
"scripts": {
"build": "rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json",
"format": "npm run prettier -- \"{.,src/**}/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
"lint": "tslint \"src/**/*\" --project tsconfig.json",
"prepare": "npm run build",
"prettier": "prettier --write",
"size": "size-limit",
"specs": "jest --coverage",
"test": "npm run build && npm run lint && npm run specs && npm run size"
},
"sideEffects": false,
"size-limit": [
{
"path": "dist/index.js",
"limit": "2 kB"
}
],
"typings": "dist/index.d.ts",
"version": "6.2.0"
}