-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.9 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
{
"name": "koa-check-origin",
"version": "2.0.1",
"description": "A Koa middleware that throws a HTTP 403 when the given origin does not match.",
"engines": {
"node": ">=7.6.0"
},
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"author": "Christian Rackerseder <git@echooff.de>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/holidaycheck/koa-check-origin.git"
},
"bugs": {
"url": "https://github.com/holidaycheck/koa-check-origin/issues"
},
"homepage": "https://github.com/holidaycheck/koa-check-origin#readme",
"keywords": [
"koa",
"origin",
"middleware"
],
"files": [
"dist/src/index.js",
"dist/src/index.d.ts"
],
"scripts": {
"precommit": "pretty-quick --staged",
"prepublishOnly": "yarn clean && yarn build && yarn test",
"clean": "rm -rf dist",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
"test:unit": "nyc tape -r source-map-support/register 'dist/test/unit/**/*.js' | tap-dot",
"test:integration": "tape -r source-map-support/register 'dist/test/integration/**/*.js' | tap-dot",
"test": "yarn lint && yarn test:unit && yarn test:integration && yarn coverage",
"coverage": "nyc report --reporter=text-summary",
"build": "tsc --build"
},
"dependencies": {
"@types/koa": "2.0.47",
"tslib": "1.9.3"
},
"devDependencies": {
"@types/got": "9.2.1",
"@types/sinon": "7.0.0",
"@types/tape": "4.2.32",
"@types/test-listen": "1.1.0",
"got": "9.4.0",
"husky": "1.2.1",
"koa": "2.6.2",
"nyc": "13.1.0",
"prettier": "1.15.3",
"pretty-quick": "1.8.0",
"sinon": "7.2.2",
"source-map-support": "0.5.9",
"tap-dot": "2.0.0",
"tape": "4.9.1",
"test-listen": "1.1.0",
"tslint": "5.11.0",
"tslint-config-prettier": "1.17.0",
"typescript": "3.2.2",
"typescript-tslint-plugin": "0.2.0"
}
}