forked from asmyshlyaev177/react-horizontal-scrolling-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
187 lines (187 loc) · 6.15 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "@ramirezcgn/react-horizontal-scrolling-menu",
"version": "4.1.1",
"author": "asmyshlyaev177",
"contributors": [
"Nicolas Ramirez <[email protected]> (https://github.com/ramirezcgn"
],
"description": "Fork of react-horizontal-scrolling-menu, scrolling horizontal menu component for React, support mouse and touch devices.",
"license": "ISC",
"main": "dist/index.mjs",
"browser": "dist/index.mjs",
"module": "dist/index.mjs",
"unpkg": "dist/index.cjs",
"types": "dist/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/ramirezcgn/react-horizontal-scrolling-menu.git"
},
"exports": {
".": {
"browser": "./dist/index.cjs",
"module": "./dist/index.mjs",
"import": "./dist/index.mjs",
"umd": "./dist/index.cjs",
"require": "./dist/index.cjs"
},
"./dist/styles.css": "./dist/styles.css",
"./styles.css": "./dist/styles.css"
},
"typesVersions": {
"*": {
"*": [
"dist/types/"
]
}
},
"scripts": {
"test:unit": "jest",
"test:e2e": "run-p -r demo:test cypress:run-with-wait",
"cypress:run-with-wait": "run-s wait cypress:run",
"cypress:run": "cypress run",
"dev": "cross-env IS_DEVELOPMENT=true rollup -c rollup.config.js -w",
"dev2": "webpack -w",
"kill-rollup": "sleep 3 && ps aux | grep rollup | awk '{print $2}' | xargs kill -9 &",
"postbuild": "wait-on dist/index.cjs dist/index.mjs dist/types && sleep 5 && yarn kill-rollup",
"build": "rm -rf dist && rollup -c rollup.config.js &",
"example": "cd example-nextjs && yarn dev",
"example-cra": "cd example-cra && yarn start",
"example:test": "cd example-nextjs && NEXT_PUBLIC_IS_TEST=true CHOKIDAR_USEPOLLING=1 yarn dev",
"wait": "wait-on http://localhost:3003 && sleep 10",
"demo": "run-p dev example",
"demo:test": "run-s build example:test",
"commit": "cz",
"release": "yarn test:unit && yarn test:e2e && standard-version",
"publish": "yarn build && git push --follow-tags origin main && npm publish",
"setup-yarn": "yarn cache clean && yarn set version 1.22.1",
"install-deps": "cd example-nextjs && yarn install && cd ../ && yarn install",
"setup-husky": "husky install",
"cz-install": "commitizen init cz-conventional-changelog --dev --exact --yarn",
"link-react": "rm -rf node_modules/react && rm -rf node_modules/react-dom && cd example-nextjs/node_modules/react && yarn link && cd ../react-dom && yarn link && cd ../../../ && yarn link react && yarn link react-dom && rm -rf node_modules/react && rm -rf node_modules/react-dom",
"prepare": "yarn link-react",
"setup": "yarn setup-yarn && yarn install-deps && yarn setup-husky && yarn cz-install",
"cz-husky-init": "husky add .husky/commit-msg 'npx --no-install commitlint --edit \"$1\"'",
"deploy-gp": "babel-node deploy-gp.js"
},
"keywords": [
"react",
"react-component",
"menu",
"navigation",
"gallery",
"horizontal",
"scroll",
"scrolling",
"scrolling-menu"
],
"browserslist": [
"last 5 Chrome versions",
"last 5 ChromeAndroid versions",
"last 5 Firefox versions",
"last 5 FirefoxAndroid versions",
"Firefox ESR",
"last 3 Safari major versions",
"last 2 iOS major versions"
],
"dependencies": {
"smooth-scroll-into-view-if-needed": "~1.1"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/node": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.2",
"@types/babel__core": "^7.20.0",
"@types/babel__plugin-transform-runtime": "^7.9.2",
"@types/babel__preset-env": "^7.9.2",
"@types/gh-pages": "^3",
"@types/jest": "^26.0.23",
"@types/react": "18.0.1",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"browserslist": "^4.21.5",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"cypress": "^9.6.0",
"cz": "^1.8.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-disable": "^2.0.1",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-radar": "^0.2.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-unicorn": "^32.0.1",
"gh-pages": "^3.2.3",
"husky": "^7.0.2",
"jest": "^27.0.1",
"jest-dev-server": "^4.4.0",
"lint-staged": "^10.2.2",
"node-sass": "^8.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"prettier": "^2.3.0",
"prop-types": "^15.8.1",
"react": "^18.1.0",
"rollup": "^2.70.2",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-ignore": "^1.0.9",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"semver": "^7.3.8",
"standard-version": "^9.5.0",
"style-loader": "^3.3.1",
"ts-jest": "^27.0.5",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"wait-on": "^7.0.1",
"webpack": "^5.72.0",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
},
"peerDependencies": {
"react": ">=16.8"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
],
"*.{html,css,less,ejs,json}": [
"prettier --write",
"git add"
]
},
"files": [
"dist"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"packageManager": "[email protected]"
}