-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
90 lines (90 loc) · 2.48 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
83
84
85
86
87
88
89
90
{
"version": "1.0.1",
"name": "@virtuslab/formts",
"description": "Type-safe, declarative and performant React form & validation library",
"repository": "git@github.com:VirtusLab/formts.git",
"author": "Mikołaj Klaman <mklaman@virtuslab.com>",
"license": "MIT",
"private": false,
"main": "__dist/index.js",
"module": "__dist/esm/index.js",
"typings": "__dist/index.d.ts",
"side-effects": false,
"files": [
"__dist",
"__src",
"validators"
],
"keywords": [
"react",
"typescript",
"forms",
"validation"
],
"scripts": {
"start": "tsdx watch",
"typecheck": "tsc -p ./tsconfig.json",
"build": "yarn typecheck && tsdx build && sh ./scripts/postbuild.sh",
"generate-docs": "typedoc src/index.ts",
"test": "tsdx test",
"test:ci": "tsdx test --ci --runInBand",
"lint": "eslint --fix ./src/**/*.ts && prettier --write ./src",
"prepare": "yarn build",
"prepack": "sh ./scripts/prepack.sh",
"postpack": "sh ./scripts/postpack.sh",
"release": "standard-version --releaseCommitMessageFormat \"chore(release): {{currentTag}} [ci skip]\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"jest --bail --findRelatedTests",
"eslint --fix",
"prettier --write"
],
"*.{md,json}": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "~29.5.2",
"@types/react": "^16.9.50",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"babel-jest": "29.6.0",
"conditional-type-checks": "^1.0.5",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"husky": "4.0.0",
"jest": "~29.6.0",
"lint-staged": ">=10",
"prettier": "^2.1.2",
"react": "^16.13.1",
"react-test-renderer": "^16.13.1",
"standard-version": "^9.0.0",
"ts-jest": "~29.1.1",
"tsdx": "^0.14.1",
"tslib": "^2.6.0",
"typedoc": "^0.24.8",
"typescript": "5.1.6",
"yarn": "^1.22.5"
},
"peerDependencies": {
"react": "^16.8.0"
},
"resolutions": {
"**/typescript": "^5.1.6",
"**/@typescript-eslint/eslint-plugin": "^5.61.0",
"**/@typescript-eslint/parser": "^5.61.0",
"**/jest": "^29.6.0",
"**/ts-jest": "^29.1.1"
}
}