-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 2.88 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "@kaissalha/frontend-common",
"description": "Shared hooks, utilities, and other logic for Ribly frontends",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "https://github.com/kaissalha/frontend-common.git"
},
"version": "1.14.0",
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"exports": {
".": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc -p config/tsconfig.cjs.json",
"build:esm": "tsc -p config/tsconfig.esm.json",
"build:types": "tsc -p config/tsconfig.types.json",
"commit": "git-cz",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,json}' --config ./.prettierrc",
"lint": "eslint .",
"lint:fix": "eslint --fix . || true",
"prepare": "husky install",
"release": "semantic-release",
"test": "jest --passWithNoTests",
"typecheck": "tsc --noEmit -p . --skipLibCheck"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@types/geojson": "^7946.0.10",
"axios": "^1.5.0",
"zod": "^3.22.2"
},
"peerDependencies": {
"@tanstack/react-query": "^4.0.0",
"jotai": "^1.9.2 || ^2.0.0",
"react": "^18.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.22.14",
"@babel/preset-typescript": "^7.22.11",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^29.5.4",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"dayjs": "^1.11.9",
"eslint": "^8.48.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.11.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"lint-staged": "^13.2.2",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"semantic-release": "^21.1.1",
"typescript": "^5.2.2"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,json}": [
"prettier --write"
],
"*.{js,ts,jsx,tsx}": [
"eslint --fix"
]
},
"jest": {
"globalSetup": "./tests/setup.ts"
}
}