-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 4.04 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 4.04 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "use-selectify",
"description": "The ultimate drag-to-select solution for React",
"version": "0.4.0",
"homepage": "https://useselectify.js.org",
"license": "MIT",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/rortan134/use-selectify"
},
"author": "GSMT <gsmt.dev@gmail.com>",
"bugs": {
"url": "https://github.com/rortan134/use-selectify/issues"
},
"keywords": [
"selection",
"drag selection",
"selection box",
"drag to select",
"mouse",
"react",
"react hook"
],
"packageManager": "pnpm@8.11.0",
"main": "./dist/use-selectify.umd.js",
"module": "./dist/use-selectify.es.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/use-selectify.es.js",
"require": "./dist/use-selectify.umd.js",
"module": "./dist/use-selectify.es.js"
},
"./dist/style.css": "./dist/style.css"
},
"files": [
"dist/**/*.{js,d.ts,mjs,d.mts,css}"
],
"scripts": {
"build": "tsc && vite build",
"preview": "vite preview",
"clean": "rm -rf ./dist",
"prettier:check": "prettier --check ./src",
"prettier:fix": "prettier --write ./src",
"lint-eslint": "eslint ./src --ext js,jsx,ts,tsx --max-warnings=0 --config .eslintrc.json --no-eslintrc",
"lint": "run-p lint-eslint prettier:check",
"lint:fix": "pnpm prettier:fix && eslint ./src --ext js,jsx,ts,tsx --fix --max-warnings=0 --config .eslintrc.json --no-eslintrc",
"lint-staged": "lint-staged",
"version": "pnpm build",
"prepare": "husky install",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"test": "playwright test"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@playwright/test": "^1.40.1",
"@storybook/addon-actions": "^7.6.3",
"@storybook/addon-essentials": "^7.6.3",
"@storybook/addon-interactions": "^7.6.3",
"@storybook/addon-links": "^7.6.3",
"@storybook/builder-vite": "^7.6.3",
"@storybook/react": "^7.6.3",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^20.10.3",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.16",
"babel-loader": "^9.1.3",
"eslint": "^8.55.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-storybook": "^0.6.15",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.32",
"postcss-loader": "^7.3.3",
"prettier": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hooks": "^1.0.1",
"turbo": "^1.10.16",
"typescript": "^5.3.2",
"vite": "^4.5.1",
"vite-plugin-dts": "^3.6.4",
"vite-plugin-linter": "^2.0.7",
"vite-tsconfig-paths": "^4.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix --cache",
"prettier --write"
]
},
"engines": {
"node": ">=16.18.0"
},
"dependencies": {
"client-only": "^0.0.1"
}
}