Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@crystallize/react-image

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crystallize/react-image - npm Package Compare versions

Comparing version 4.0.2 to 5.0.0-beta.1

dist/index.d.ts

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc