UNPKG

5.76 kBJSONView Raw
1{
2 "name": "react-responsive-carousel",
3 "version": "3.2.23",
4 "description": "React Responsive Carousel",
5 "author": {
6 "name": "Leandro Augusto Lemos",
7 "url": "http://leandrowd.github.io/"
8 },
9 "main": "lib/js/index.js",
10 "types": "lib/ts/index.d.ts",
11 "license": "MIT",
12 "keywords": [
13 "react",
14 "carousel",
15 "gallery",
16 "image-gallery",
17 "slider",
18 "responsive",
19 "swipe",
20 "mobile-friendly",
21 "react-component",
22 "view"
23 ],
24 "repository": {
25 "type": "git",
26 "url": "https://github.com/leandrowd/react-responsive-carousel.git"
27 },
28 "bugs": {
29 "url": "https://github.com/leandrowd/react-responsive-carousel/issues"
30 },
31 "homepage": "http://leandrowd.github.io/react-responsive-carousel/",
32 "scripts": {
33 "start": "parcel src/index.html src/assets/**/*",
34 "storybook": "start-storybook -p 9001 -s ./src -c .storybook",
35 "changelog": "auto-changelog --ignore-commit-pattern=\"(Merge pull request|Merge branch|Updating changelog|Prepare for publishing)\"",
36 "update-codesandbox": "cd codesandbox/default && yarn add react-responsive-carousel@latest",
37 "format": "prettier \"**/*.{js,ts,tsx,json}\"",
38 "format:check": "yarn format --check",
39 "format:write": "yarn format --write",
40 "test": "yarn format:check && yarn typecheck && yarn jest && yarn jest-ssr",
41 "jest": "jest",
42 "jest-ssr": "jest --testEnvironment=node ./src/__tests__/SSR.tsx",
43 "typecheck": "tsc -p tsconfig.json --noEmit",
44 "update-snapshots": "jest --updateSnapshot",
45 "build": "yarn lib:build",
46 "lib:build": "yarn lib:build-js && yarn lib:build-styles && yarn lib:build-types",
47 "lib:build-js": "babel ./src -d lib/js --ignore './src/__tests__' --extensions .ts,.tsx --config-file ./babel.config.json",
48 "lib:build-styles": "mkdirp lib/styles && node-sass src/carousel.scss > lib/styles/carousel.css && node-sass --output-style compressed src/carousel.scss > lib/styles/carousel.min.css",
49 "lib:build-types": "tsc -p tsconfig.types.json",
50 "lib:pre-publish": "npm version patch && git push origin master",
51 "lib:publish": "npm publish && git push --tags",
52 "lib:post-publish": "yarn changelog && yarn update-codesandbox && git add . && git commit -m 'Updating changelog and codesandbox' && git push origin master",
53 "lib:build-and-publish": "yarn lib:build && yarn lib:pre-publish && npm run lib:publish && yarn lib:post-publish",
54 "website:build": "parcel build ./src/index.html --out-dir temp/website",
55 "website:copy-assets": "cp -r ./src/assets temp/website/assets && cp -r ./CNAME temp/website/CNAME",
56 "website:storybook": "build-storybook -s ./src -o ./temp/website/storybook",
57 "website:deploy": "gh-pages -d temp/website",
58 "website:create-and-publish": "yarn website:build && yarn website:copy-assets && yarn website:storybook && yarn website:deploy",
59 "prepublish-to-npm": "git pull && yarn build",
60 "publish-to-npm": "npm version patch && npm publish && git push --tags",
61 "postpublish-to-npm": "yarn changelog && yarn update-codesandbox && git add . && git commit -m 'Updating changelog and codesandbox' && git push origin master",
62 "prepublish-prerelease-to-npm": "git pull && yarn build && git add . && git commit -m 'Prepare for publishing prerelease'",
63 "publish-prerelease-to-npm": "(git pull && npm version prerelease --preid=next && npm publish)"
64 },
65 "devDependencies": {
66 "@babel/cli": "^7.8.4",
67 "@babel/core": "^7.9.0",
68 "@babel/plugin-proposal-class-properties": "^7.8.3",
69 "@babel/preset-env": "^7.9.5",
70 "@babel/preset-react": "^7.9.4",
71 "@babel/preset-typescript": "^7.9.0",
72 "@kadira/react-storybook-addon-info": "^3.4.0",
73 "@kadira/storybook": "^2.35.3",
74 "@storybook/addon-actions": "^5.3.18",
75 "@storybook/addon-essentials": "^5.3.18",
76 "@storybook/addon-knobs": "^5.3.18",
77 "@storybook/addon-storysource": "^5.3.18",
78 "@storybook/addon-viewport": "^5.3.18",
79 "@storybook/react": "^5.3.18",
80 "@types/classnames": "^2.2.10",
81 "@types/enzyme": "^3.10.5",
82 "@types/jest": "^25.2.1",
83 "@types/react": "^16.9.34",
84 "@types/react-dom": "^16.9.6",
85 "@types/react-test-renderer": "^16.9.2",
86 "auto-changelog": "^1.10.2",
87 "babel-loader": "^8.1.0",
88 "css-loader": "^3.5.2",
89 "enzyme": "^3.11.0",
90 "enzyme-adapter-react-16": "^1.15.2",
91 "gh-pages": "^2.2.0",
92 "husky": "^3.0.9",
93 "jest-cli": "^25.3.0",
94 "mkdirp": "^1.0.4",
95 "node-sass": "^4.13.1",
96 "parcel-bundler": "^1.12.4",
97 "prettier": "^1.18.2",
98 "pretty-quick": "^2.0.0",
99 "react": "^16.9.0",
100 "react-dom": "^16.9.0",
101 "react-player": "^1.15.3",
102 "react-test-renderer": "^16.9.0",
103 "sass-loader": "^8.0.2",
104 "style-loader": "^1.1.3",
105 "typescript": "^3.8.3"
106 },
107 "dependencies": {
108 "classnames": "^2.2.5",
109 "prop-types": "^15.5.8",
110 "react-easy-swipe": "^0.0.21"
111 },
112 "jest": {
113 "unmockedModulePathPatterns": [
114 "node_modules"
115 ],
116 "rootDir": "src",
117 "setupFilesAfterEnv": [
118 "../setupTests.js"
119 ]
120 },
121 "husky": {
122 "hooks": {
123 "pre-commit": "pretty-quick --staged"
124 }
125 },
126 "auto-changelog": {
127 "output": "CHANGELOG.md",
128 "template": "keepachangelog",
129 "unreleased": true,
130 "commitLimit": true
131 }
132}