forked from kwhitley/itty-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.17 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
71
72
73
74
{
"name": "itty-router",
"version": "2.4.2",
"description": "Tiny, zero-dependency router with route param and query parsing - build for Cloudflare Workers, but works everywhere!",
"main": "./dist/itty-router.min.js",
"types": "./dist/itty-router.d.ts",
"files": [
"dist/itty-router.min.js",
"dist/itty-router.d.ts"
],
"keywords": [
"router",
"cloudflare",
"workers",
"serverless",
"express",
"regex",
"routing",
"api",
"handler",
"params",
"middleware",
"nested",
"rest",
"crud",
"query",
"parameters",
"durable",
"objects"
],
"scripts": {
"docs:dev": "cp README.md ./docs/pages/README.md && vite",
"docs:build": "cp README.md ./docs/pages/README.md && vite build",
"docs:serve": "vite preview",
"lint": "npx eslint src",
"test:dist": "jest --verbose --coverage dist",
"test": "yarn lint && jest --verbose --coverage src",
"verify": "echo 'verifying module...' && yarn build && yarn test && yarn test:dist",
"dev": "yarn lint && jest --verbose --watch src",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
"prerelease": "yarn verify",
"prebuild": "rimraf dist && mkdir dist && node prebuild.js && cp src/itty-router.d.ts dist",
"build": "uglifyjs dist/itty-router.js -c -m --toplevel > dist/itty-router.min.js",
"postbuild": "node check-size.js",
"release": "release --tag --push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwhitley/itty-router.git"
},
"author": "Kevin R. Whitley <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwhitley/itty-router/issues"
},
"homepage": "https://itty-router.dev",
"devDependencies": {
"@vitejs/plugin-vue": "^1.4.0",
"@vue/compiler-sfc": "^3.2.2",
"chalk": "^4.1.2",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.4.0",
"fs-extra": "^10.0.0",
"gzip-size": "^6.0.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^27.0.6",
"rimraf": "^3.0.2",
"uglify-js": "^3.14.1",
"vite": "^2.4.4",
"yarn": "^1.22.11",
"yarn-release": "^1.10.3"
}
}