Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedfasil committed Mar 15, 2020
1 parent 507d623 commit 49d90c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
19 changes: 17 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cropper-react",
"version": "0.0.1",
"version": "0.0.1a",
"description": "CropperJs as react component using react hooks internally",
"scripts": {
"build": "rollup -c",
Expand All @@ -10,11 +10,23 @@
},
"author": "Mohamed Fasil",
"license": "MIT",
"repository": "https://github.com/mohamedfasil/cropper-react",
"main": "build/index.js",
"module": "build/index.es.js",
"jsnext:main": "build/index.es.js",
"files": [
"build"
"build*",
"README*"
],
"keywords": [
"crop",
"cropper",
"image",
"rotate",
"resize",
"react",
"hook",
"crop svg"
],
"devDependencies": {
"@babel/core": "^7.8.7",
Expand Down Expand Up @@ -45,6 +57,9 @@
"rollup-plugin-typescript2": "^0.26.0",
"typescript": "^3.8.3"
},
"dependencies": {
"cropperjs": "^1.5.6"
},
"peerDependencies": {
"react": "^16.13.0",
"react-dom": "^16"
Expand Down

0 comments on commit 49d90c8

Please sign in to comment.