UNPKG

2.02 kBJSONView Raw
1{
2 "name": "path-to-regexp",
3 "description": "Express style path to RegExp utility",
4 "version": "6.2.0",
5 "main": "dist/index.js",
6 "typings": "dist/index.d.ts",
7 "module": "dist.es2015/index.js",
8 "sideEffects": false,
9 "files": [
10 "dist/",
11 "dist.es2015/"
12 ],
13 "scripts": {
14 "prettier": "prettier --write",
15 "lint": "tslint \"src/**/*\" --project tsconfig.json",
16 "format": "npm run prettier -- \"{.,src/**}/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
17 "build": "rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json",
18 "specs": "jest --coverage",
19 "test": "npm run build && npm run lint && npm run specs && npm run size",
20 "size": "size-limit",
21 "prepare": "npm run build"
22 },
23 "keywords": [
24 "express",
25 "regexp",
26 "route",
27 "routing"
28 ],
29 "license": "MIT",
30 "repository": {
31 "type": "git",
32 "url": "https://github.com/pillarjs/path-to-regexp.git"
33 },
34 "size-limit": [
35 {
36 "path": "dist/index.js",
37 "limit": "2 kB"
38 }
39 ],
40 "jest": {
41 "roots": [
42 "<rootDir>/src/"
43 ],
44 "transform": {
45 "\\.tsx?$": "ts-jest"
46 },
47 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
48 "moduleFileExtensions": [
49 "ts",
50 "tsx",
51 "js",
52 "jsx",
53 "json",
54 "node"
55 ]
56 },
57 "husky": {
58 "hooks": {
59 "pre-commit": "lint-staged"
60 }
61 },
62 "lint-staged": {
63 "*.{js,jsx,ts,tsx,json,md,yml,yaml}": "npm run prettier"
64 },
65 "publishConfig": {
66 "access": "public"
67 },
68 "devDependencies": {
69 "@size-limit/preset-small-lib": "^4.5.6",
70 "@types/jest": "^26.0.9",
71 "@types/node": "^14.0.27",
72 "@types/semver": "^7.3.1",
73 "husky": "^4.2.5",
74 "jest": "^26.2.2",
75 "lint-staged": "^10.2.11",
76 "prettier": "^2.0.5",
77 "rimraf": "^3.0.0",
78 "semver": "^7.3.2",
79 "size-limit": "^4.5.6",
80 "ts-jest": "^26.1.4",
81 "tslint": "^6.1.3",
82 "tslint-config-prettier": "^1.18.0",
83 "tslint-config-standard": "^9.0.0",
84 "typescript": "^4.0.3"
85 }
86}