forked from mrjono1/joi-to-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.79 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
{
"name": "joi-to-typescript",
"description": "Convert Joi Schemas to TypeScript interfaces",
"version": "4.6.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.3",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "5.60.1",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.46.0",
"eslint-config-prettier": "8.9.0",
"eslint-plugin-prettier": "4.2.1",
"jest": "29.6.2",
"joi": "17.9.2",
"prettier": "3.0.0",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
},
"peerDependencies": {
"joi": "17.x"
},
"jest": {
"testEnvironment": "node"
},
"engines": {
"node": ">=14.0.0"
}
}