Skip to content

Commit

Permalink
BREAKING CHANGE: move react and react-dom to peer dependencies and us…
Browse files Browse the repository at this point in the history
…e MIT licence
  • Loading branch information
nerdyman committed Jan 14, 2022
1 parent cb1a54d commit deda865
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
7 changes: 7 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2022 nerdyman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ const MyTurntable = () => (
<Turntable images={myImages} />
)
```

## Notes

- Original implementation by @andrewmcoupe
31 changes: 12 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"name": "react-image-turntable",
"version": "2.5.4",
"homepage": "https://github.com/andrewmcoupe/react-image-turntable",
"description": "This package aims to display an object in 360 degree perspective with the use of multiple, angled images from around the object itself.",
"license": "MIT",
"homepage": "https://github.com/nerdyman/react-image-turntable",
"description": "Display a set of images as a draggable 360 degree turntable.",
"author": {
"name": "nerdyman",
"url": "https://github.com/nerdyman"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
Expand All @@ -12,18 +17,17 @@
"test": "jest",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix"
},
"dependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"keywords": [
"turntable",
"product spinner",
"360 image",
"image turntable",
"react image"
],
"author": "Andy Coupe",
"license": "ISC",
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
Expand All @@ -44,16 +48,5 @@
"prettier": "^2.0.5",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run precommit"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}

0 comments on commit deda865

Please sign in to comment.