-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.31 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
{
"name": "@wethegit/react-gallery",
"version": "4.0.1",
"description": "A customizable, accessible gallery component for React projects.",
"files": [
"dist"
],
"style": "dist/style.css",
"css": "dist/style.css",
"type": "module",
"main": "./dist/react-gallery.umd.cjs",
"module": "./dist/react-gallery.js",
"exports": {
".": {
"import": "./dist/react-gallery.js",
"require": "./dist/react-gallery.umd.cjs"
},
"./style.css": "./dist/style.css"
},
"scripts": {
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
"start": "vite",
"build": "npm run lint:scripts && npm run lint:styles && vite build",
"lint:scripts": "eslint --fix --ext .jsx,js --ignore-path .gitignore .",
"lint:styles": "stylelint src/**/*.{css,scss}"
},
"publishConfig": {
"access": "public"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": "eslint --fix",
"*.{css,scss}": "stylelint --fix",
"*": "prettier -w -u"
},
"keywords": [
"react",
"gallery",
"carousel",
"accessible"
],
"homepage": "https://github.com/wethegit/react-gallery",
"repository": {
"type": "git",
"url": "https://github.com/wethegit/react-gallery"
},
"bugs": {
"url": "https://github.com/wethegit/react-gallery/issues"
},
"author": "Andrew Rubin <andrew@wethecollective.com> (https://wethecollective.com)",
"license": "MIT",
"devDependencies": {
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react-swc": "^3.0.0",
"eslint": "^9.2.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.7",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"postcss": "^8.4.23",
"prettier": "^3.2.5",
"stylelint": "^15.6.2",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-order": "^6.0.3",
"stylelint-selector-bem-pattern": "^3.0.1",
"vite": "^5.2.11",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": "17 - 18",
"react-dom": "17 - 18"
}
}