-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
70 lines (70 loc) · 2.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "tiny-request-router",
"version": "1.2.2",
"description": "Fast, generic and type safe router (match method and path).",
"author": "berstend",
"license": "MIT",
"repository": "berstend/tiny-request-router",
"homepage": "https://github.com/berstend/tiny-request-router#readme",
"main": "./dist/router.js",
"module": "./dist/router.mjs",
"unpkg": "./dist/router.min.js",
"browser": {
"./dist/router.js": "./dist/router.browser.js",
"./dist/router.mjs": "./dist/router.browser.mjs"
},
"types": "dist/src/router.d.ts",
"files": [
"/dist"
],
"scripts": {
"check": "tsc --pretty --noEmit",
"check:watch": "npm run check -- --watch",
"declarations": "tsc --emitDeclarationOnly",
"prebuild": "rimraf dist",
"build": "rollup -c rollup.config.ts && npm run declarations",
"dev": "npm run prebuild && rollup -c rollup.config.ts -w && npm run declarations",
"test": "ava-ts -v",
"prepublish": "npm run build",
"docs": "documentation readme --quiet --shallow --github --markdown-theme transitivebs --readme-file readme.md --section API ./src/router.ts && npx prettier --write readme.md && npx prettier --write readme.md"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true
},
"keywords": [
"router",
"service worker",
"universal",
"routing",
"cloudflare",
"worker",
"browser",
"node",
"url router",
"cloudflare worker",
"typescript",
"match request"
],
"devDependencies": {
"@types/node": "^12.12.14",
"ava": "^2.4.0",
"ava-ts": "^0.25.1",
"documentation-markdown-themes": "^12.1.5",
"rimraf": "^3.0.0",
"rollup": "^1.27.5",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript": "^1.0.1",
"ts-node": "^8.5.4",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^3.7.2"
},
"dependencies": {
"path-to-regexp": "^6.1.0"
}
}