-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.07 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
{
"name": "koa-responsive-image-router",
"version": "0.2.37",
"description": "Koa router that helps to serve responsive images in an SSR app",
"main": "lib/src/index.js",
"scripts": {
"demo": "nodemon lib/test/app.js",
"build": "tsc",
"prepare": "npm run build",
"typecheck": "tsc --noEmit -p ./",
"watch": "multiple-scripts-tmux -p watch",
"test": "npx mocha --require ts-node/register --exit",
"clean-coverage": "rm -rf coverage .nyc_output .xunit",
"coverage": "npm run clean-coverage && nyc mocha",
"test-reports": "npm run clean-coverage && nyc --reporter clover mocha --reporter xunit --reporter-option output=.xunit --exit",
"coverage-html": "npm run test-reports && nyc report --reporter lcov && xdg-open coverage/lcov-report/index.html"
},
"tmux-scripts": {
"watch": [
"npm run typecheck -- --watch",
"npm run build -- --watch",
"npm run demo"
]
},
"types": "@types/src/index.d.ts",
"author": "Sealcode",
"license": "ISC",
"dependencies": {
"@koa/router": "^10.0.0",
"@sealcode/ts-predicates": "^0.5.3",
"@types/mocha": "^9.0.0",
"better-queue": "^3.8.12",
"filru": "^2.1.0",
"koa": "^2.13.1",
"koa-router": "^10.0.0",
"locreq": "^2.4.1",
"lru-cache": "^10.0.1",
"multiple-scripts-tmux": "^1.1.2",
"node-cache": "^5.1.2",
"object-fit-math": "^1.0.0",
"object-hash": "^3.0.0",
"pick-port": "^2.1.0",
"sharp": "^0.32.5",
"smartcrop-sharp": "^2.0.8"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/better-queue": "^3.8.3",
"@types/jsdom": "^21.1.2",
"@types/koa__router": "^8.0.4",
"@types/mocha": "^9.0.0",
"@types/object-hash": "^3.0.6",
"@types/sharp": "^0.28.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"jsdom": "^22.1.0",
"mocha": "^9.2.2",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=21.0.0"
}
}