react-image-gallery 2.0.2 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +7 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-image-gallery",
3
- "version": "2.0.2",
3
+ "version": "2.0.5",
4
4
  "description": "React carousel image gallery component with thumbnail and mobile support",
5
5
  "main": "./build/image-gallery.cjs",
6
6
  "module": "./build/image-gallery.es.js",
@@ -14,14 +14,16 @@
14
14
  "styles"
15
15
  ],
16
16
  "scripts": {
17
+ "//": "Release: run 'npm version patch|minor|major' to bump version, build, commit, tag, and push",
17
18
  "test": "jest",
18
19
  "test:package": "bash scripts/test-package.sh",
19
20
  "lint": "eslint src",
20
21
  "start": "webpack serve --hot --mode development --static ./example",
21
22
  "build": "webpack --config webpack.build.cjs && rm -rf build/types/components",
22
- "publish:dry-run": "npm publish --dry-run",
23
- "prepublish:check": "npm run lint && npm test && npm run build && npm run publish:dry-run",
24
- "release": "npm login && npm publish"
23
+ "deploy-demo": "bash scripts/deploy-demo.sh",
24
+ "preversion": "npm run lint && npm test",
25
+ "version": "npm run build && git add -A",
26
+ "postversion": "git push && git push --tags && npm run deploy-demo"
25
27
  },
26
28
  "repository": {
27
29
  "type": "git",
@@ -119,4 +121,4 @@
119
121
  "peerDependencies": {
120
122
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
121
123
  }
122
- }
124
+ }