-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.87 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": "@batterii/cors",
"version": "1.2.0",
"description": "Wrapper around koa cors",
"keywords": [
"cors",
"koa-cors",
"@koa/cors",
"koa",
"koajs"
],
"author": "Batterii, LLC",
"license": "MIT",
"repository": "github:Batterii/cors",
"engines": {
"node": ">=8.6",
"npm": ">=5.3"
},
"files": [
"dist/lib",
"dist/types"
],
"scripts": {
"generate": "yo --local-only",
"generate:class": "yo @batterii/ts-class --local-only ",
"generate:module": "yo @batterii/ts-module --local-only ",
"generate:test": "yo @batterii/ts-test --local-only ",
"lint": "eslint . --ext .ts",
"lintf": "eslint . --ext .ts --fix",
"prebuild": "rm -rf dist",
"build": "tsc && tsc --project tsconfig-types.json",
"test": "mocha",
"test:unit": "mocha test/unit",
"test:integration": "mocha test/integration",
"test:build": "npm run build && mocha --config .mocharc-dist.yaml dist/test",
"preversion": "npm run lint && npm run test:build",
"prepublishOnly": "git push && git push --tags"
},
"main": "dist/lib/index.js",
"types": "dist/types/index.d.ts",
"devDependencies": {
"@batterii/eslint-config-ts": "^2.1.0",
"@batterii/generator-ts-class": "^0.2.0",
"@batterii/generator-ts-module": "^0.2.0",
"@batterii/generator-ts-test": "^0.1.1",
"@types/chai": "^4.2.9",
"@types/koa": "^2.11.2",
"@types/lodash": "^4.14.149",
"@types/mocha": "^7.0.1",
"@types/node": "^12.12.28",
"@types/sinon": "^7.5.2",
"@types/sinon-chai": "^3.2.3",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"koa": "^2.11.0",
"mocha": "^7.0.1",
"sinon": "^7.5.0",
"sinon-chai": "^3.5.0",
"source-map-support": "^0.5.16",
"ts-node": "^8.6.2",
"typescript": "3.8.2",
"yo": "^3.1.1"
},
"dependencies": {
"@koa/cors": "^3.0.0",
"@types/koa__cors": "^3.0.1",
"lodash": "^4.17.15"
}
}