-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpackage.json
60 lines (60 loc) · 1.74 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
{
"name": "joi-to-typescript",
"description": "Convert Joi Schemas to TypeScript interfaces",
"version": "4.15.0",
"author": "Jono Clarnette",
"keywords": [
"joi",
"ts",
"typescript",
"hapi",
"interface"
],
"license": "MIT",
"repository": {
"url": "https://github.com/mrjono1/joi-to-typescript",
"type": "git"
},
"funding": "https://github.com/mrjono1/joi-to-typescript?sponsor=1",
"bugs": {
"url": "https://github.com/mrjono1/joi-to-typescript/issues"
},
"main": "./dist/main/index.js",
"module": "./dist/module/index.js",
"typings": "./dist/types/index.d.ts",
"exports": {
"import": "./dist/module/index.js",
"require": "./dist/main/index.js"
},
"scripts": {
"build:esm": "tsc --module es2020 --outDir ./dist/module",
"build:cjs": "tsc --module commonjs --outDir ./dist/main",
"build:dts": "tsc --declaration --emitDeclarationOnly --outDir ./dist/types",
"build": "yarn build:esm && yarn build:cjs && yarn build:dts",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint 'src/**'",
"test": "jest --config jest.config.cjs",
"coverage": "yarn test --coverage --silent",
"pub": "yarn build && yarn publish"
},
"devDependencies": {
"@types/jest": "29.5.14",
"@types/node": "20.12.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"jest": "29.7.0",
"joi": "17.13.3",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"typescript": "5.7.2"
},
"peerDependencies": {
"joi": "17.x"
},
"engines": {
"node": ">=14.0.0"
}
}