-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.75 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.75 KB
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
{
"name": "yipp",
"version": "0.1.3",
"main": "./lib/Cli.js",
"bin": {
"yipp": "./lib/Cli.js"
},
"license": "MIT",
"description": "An api tool for building rest apis, heavily inspired by GQL syntax.",
"author": "Fredrik Lindin <fredriklindin@gmail.com>",
"scripts": {
"test": "jest",
"build": "rm -rf lib && tsc",
"lint": "eslint src/",
"prettier": "prettier --write src/**",
"example": "concurrently --raw \"npm:example-server\" \"npm:example-watch-fastify-plugin\" \"npm:example-watch-axios-client\"",
"example-server": "ts-node-dev ./src/examples/fastify",
"example-watch-fastify-plugin": "ts-node-dev src/Cli.ts fastify-plugin --watch src/examples/fastify/generated.ts src/examples/schemas/**.yipp",
"example-watch-axios-client": "ts-node-dev src/Cli.ts axios-client --watch src/examples/axios-client/generated.ts src/examples/schemas/**.yipp",
"prepare": "yarn run build",
"prepublishOnly": "yarn test && yarn run lint"
},
"files": [
"lib/**/*"
],
"prettier": {
"printWidth": 120,
"trailingComma": "all",
"singleQuote": true
},
"dependencies": {
"axios": "^0.24.0",
"chalk": "^4.0.0",
"commander": "^8.3.0",
"fastify": "^3.24.0",
"prettier": "^2.5.0"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/json-schema": "^7.0.9",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"concurrently": "^6.4.0",
"eslint": "^8.3.0",
"jest": "^27.3.1",
"prettier-plugin-organize-imports": "^2.3.4",
"ts-jest": "^27.0.7",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"./build"
]
}
}