-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 2.8 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
75
76
77
78
79
80
81
82
{
"name": "@smartlyio/oats",
"version": "2.17.0",
"license": "MIT",
"description": "Openapi3 based generator for typescript aware servers and clients",
"private": false,
"author": "Smartly.io",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"reinstall": "rm -rf node_modules && yarn",
"clean": "lerna exec --no-private --concurrency 4 -- yarn clean",
"tsc": "tsc",
"pretest": "yarn generate && lerna run pretest",
"doc": "yarn generate:examples",
"test": "jest --coverage --forceExit",
"test:watch": "jest --watch",
"lint:local": "eslint --max-warnings=0 --ext .ts test examples",
"lint": "yarn lint:local && lerna run lint",
"lint:fix": "yarn lint:local && lerna run lint:fix",
"generate": "yarn generate:ejs && yarn generate:examples && yarn generate:test",
"generate:ejs": "find test -name '*.ejs' -exec /bin/sh -c 'yarn ejs -o ${1%.*} $1' --hide-banner {} \\;",
"generate:test": "find test -name 'driver.ts' -exec ts-node -r tsconfig-paths/register --project tsconfig.json {} \\;",
"generate:examples": "ts-node -r tsconfig-paths/register --project tsconfig.json examples/driver.ts && ts-node -r tsconfig-paths/register --project tsconfig.json render.ts",
"render": "yarn doc && lerna run render",
"build": "lerna run build",
"ci:install": "yarn install --frozen-lockfile --link-duplicates --silent",
"ci:lint": "yarn lint",
"ci:test": "yarn test",
"ci:build": "yarn run --silent build",
"publish:canary": "lerna publish --canary --no-private",
"publish:patch": "lerna publish patch --no-private",
"publish:minor": "lerna publish minor --no-private",
"publish:major": "lerna publish major --no-private"
},
"repository": {
"type": "git",
"url": "https://github.com/smartlyio/oats.git"
},
"keywords": [
"oats",
"openapi3",
"rest",
"generator",
"typescript",
"server",
"client"
],
"devDependencies": {
"@types/jest": "29.5.2",
"@types/js-yaml": "^4.0.9",
"@types/koa": "2.13.6",
"@types/koa-mount": "4.0.2",
"@types/koa-router": "7.4.4",
"@types/node": "18.16.18",
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "5.59.11",
"ajv": "^8.17.1",
"axios": "1.7.4",
"ejs": "^3.1.10",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"fast-check": "2.25.0",
"jest": "29.5.0",
"lerna": "6.6.2",
"prettier": "2.8.8",
"tinybench": "^2.9.0",
"ts-jest": "29.1.0",
"ts-node": "10.9.1"
},
"dependencies": {
"koa": "2.14.2",
"koa-body": "6.0.1",
"koa-mount": "4.0.0",
"koa-router": "12.0.0",
"tsconfig-paths": "4.2.0",
"typescript": "5.1.3"
}
}