Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 2.33 KB
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
{
"name": "react-bbox-annotator",
"version": "1.1.0",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"private": false,
"files": [
"dist"
],
"keywords": [
"bounding box annotator",
"react",
"typescript",
"npm"
],
"author": "ZADI Younes",
"description": "A bounding box annotator component",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/younesZdDz/react-bbox-annotator"
},
"bugs": {
"url": "https://github.com/younesZdDz/react-bbox-annotator/issues"
},
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"lint": "npm run lint:js",
"lint:eslint": "eslint --ignore-path .gitignore",
"lint:eslint:fix": "eslint --ignore-path .gitignore --fix",
"lint:js": "npm run lint:eslint -- .",
"lint:staged": "lint-staged",
"prettify": "prettier --write"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run lint:eslint:fix",
"git add --force"
],
"*.json": [
"prettier --write",
"git add --force"
]
},
"eslintConfig": {
"extends": "react-app"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^8.5.1",
"typescript": "^4.9.5"
},
"peerDependencies": {
"react": ">=18 <20",
"react-dom": ">=18 <20"
},
"sideEffects": false,
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}