-
Notifications
You must be signed in to change notification settings - Fork 3
/
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
{
"name": "@forminator/react-wire",
"description": "connect react components with wire",
"version": "0.7.0",
"files": [
"src",
"dist",
"index.d.ts",
"tsdoc-metadata.json"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/forminator/react-wire"
},
"type": "module",
"typings": "./index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"scripts": {
"prepare": "husky",
"pre-commit": "tsc && lint-staged && pnpm lint",
"toc": "markdown-toc -i README.md",
"lint": "eslint --max-warnings=0 src/**/*.{ts,tsx}",
"format": "prettier --write '**/*.{js,jsx,ts,tsx,json,yml,css,scss,md}'",
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,json,yml,css,scss,md}'",
"test": "vitest --run --coverage",
"test:watch": "vitest",
"build:dts": "api-extractor run --local --verbose && prettier --write index.d.ts",
"build": "vite build && pnpm build:dts",
"validate": "pnpm run lint && pnpm run format:check && pnpm run test && tsc",
"prepublishOnly": "pnpm run validate && pnpm build"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@microsoft/api-extractor": "^7",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/use-sync-external-store": "^0.0.6",
"@vitejs/plugin-react": "^4",
"@vitest/coverage-istanbul": "^1",
"eslint": "^8",
"eslint-config-react-app": "^7",
"husky": "^9",
"jest-leak-detector": "^29",
"jsdom": "^24",
"lint-staged": "^15",
"markdown-toc": "^1",
"prettier": "^3",
"react": "^18",
"react-dom": "^18",
"typescript": "^5",
"vite": "^5",
"vite-plugin-dts": "^3",
"vitest": "^1"
},
"dependencies": {
"mitt": "^1.2.0",
"use-sync-external-store": "^1.2.2"
},
"peerDependencies": {
"react": "^18"
},
"pnpm": {
"overrides": {
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0"
}
}
}