@crystallize/react-image
Advanced tools
Comparing version 4.0.2 to 5.0.0-beta.1
109
package.json
{ | ||
"name": "@crystallize/react-image", | ||
"description": "Output a modern and responsive image based on the source variations from Crystallize", | ||
"version": "4.0.2", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:CrystallizeAPI/react-image.git" | ||
"name": "@crystallize/react-image", | ||
"description": "Output a modern and responsive image based on the source variations from Crystallize", | ||
"version": "5.0.0-beta.1", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"src" | ||
], | ||
"exports": { | ||
".": "./dist/index.esm.js" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test --passWithNoTests", | ||
"lint": "tsdx lint", | ||
"prepare": "tsdx build", | ||
"size": "size-limit", | ||
"analyze": "size-limit --why", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=16" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "tsdx lint" | ||
} | ||
}, | ||
"prettier": { | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}, | ||
"module": "dist/react-image.esm.js", | ||
"size-limit": [ | ||
{ | ||
"path": "dist/react-image.cjs.production.min.js", | ||
"limit": "10 KB" | ||
}, | ||
"keywords": [ | ||
"crystallize", | ||
"react", | ||
"image" | ||
], | ||
"types": "src/index.d.ts", | ||
"source": "src/index.js", | ||
"main": "build/index.js", | ||
"module": "build/index.module.js", | ||
"unpkg": "build/index.umd.js", | ||
"files": [ | ||
"build" | ||
], | ||
"exports": { | ||
".": "./build/index.module.js" | ||
}, | ||
"devDependencies": { | ||
"microbundle": "^0.12.4", | ||
"parcel": "^1.12.4", | ||
"react": ">=16.13.0", | ||
"react-dom": ">=16.13.0", | ||
"prop-types": "^15.7.2" | ||
}, | ||
"peerDependencies": { | ||
"prop-types": ">=15.0.0", | ||
"react": ">=16.13.0", | ||
"react-dom": ">=16.13.0" | ||
}, | ||
"scripts": { | ||
"dev": "NODE_ENV=development parcel ./public/index.html", | ||
"build": "microbundle --jsx React.createElement", | ||
"prepare": "npm run build" | ||
{ | ||
"path": "dist/react-image.esm.js", | ||
"limit": "10 KB" | ||
} | ||
], | ||
"devDependencies": { | ||
"@babel/core": "^7.12.3", | ||
"@size-limit/preset-small-lib": "^4.7.0", | ||
"@storybook/addon-essentials": "^6.0.28", | ||
"@storybook/addon-info": "^5.3.21", | ||
"@storybook/addon-links": "^6.0.28", | ||
"@storybook/addons": "^6.0.28", | ||
"@storybook/react": "^6.0.28", | ||
"@types/react": "^16.9.56", | ||
"@types/react-dom": "^16.9.9", | ||
"babel-loader": "^8.2.1", | ||
"husky": "^4.3.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-is": "^17.0.1", | ||
"size-limit": "^4.7.0", | ||
"tsdx": "^0.14.1", | ||
"tslib": "^2.0.3", | ||
"typescript": "^4.0.5" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
![alt text](https://raw.githubusercontent.com/CrystallizeAPI/react-image/HEAD/media/logo.png "An illustration of an atom") | ||
![alt text](https://raw.githubusercontent.com/CrystallizeAPI/react-image/HEAD/media/logo.png 'An illustration of an atom') | ||
@@ -18,3 +18,3 @@ # React Srcset Images for Crystallize | ||
``` | ||
import Image from '@crystallize/react-image'; | ||
import { Image } from '@crystallize/react-image'; | ||
@@ -21,0 +21,0 @@ const imageFromCrystallize = { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
45075
1
12
619
18
2
1