New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-responsive-picture

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-picture - npm Package Compare versions

Comparing version

to
1.0.2

dist/react-responsive-picture.js

4

CHANGELOG.md
# Changelog
## v1.0.2
- Generates multiple module types when releasing the package
## v1.0.1

@@ -4,0 +8,0 @@

30

package.json
{
"name": "react-responsive-picture",
"version": "1.0.1",
"version": "1.0.2",
"description": "A future-proof responsive image component that supports latest Picture specification",
"main": "./dist/index.js",
"main": "./lib/index.js",
"module": "es/index.js",
"scripts": {
"build": "babel src/ -d dist/ --copy-files",
"clean": "rimraf dist/",
"dev": "yarn run clean && babel src/ -d dist/ --watch --copy-files",
"build": "yarn run build:commonjs && yarn run build:es && npm run build:umd && npm run build:umd:min",
"build:es": "babel src -d es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/react-responsive-picture.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/react-responsive-picture.min.js",
"clean": "rimraf lib dist es",
"dev": "yarn run clean && babel src -d lib --watch",
"lint": "eslint src/ --ext .js,.jsx",
"prepublish": "yarn run clean && yarn run build",
"test": "echo \"Error: no test specified\" && exit 1"
"release": "np",
"test": "echo \"No tests available\" && exit 0"
},

@@ -19,3 +25,5 @@ "repository": {

"files": [
"es",
"dist",
"lib",
"src"

@@ -43,5 +51,7 @@ ],

"babel-eslint": "^6.1.2",
"babel-preset-es2015": "^6.24.0",
"babel-loader": "^6.4.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.0",
"babel-preset-env": "^1.3.2",
"babel-preset-react": "^6.23.0",
"babel-preset-stage-0": "^6.22.0",
"cross-env": "^4.0.0",
"eslint": "^3.5.0",

@@ -51,4 +61,6 @@ "eslint-config-edited": "^1.0.0",

"eslint-plugin-react": "^6.10.2",
"np": "^2.13.1",
"react": "^15.4.2",
"rimraf": "^2.4.3"
"rimraf": "^2.4.3",
"webpack": "^2.3.3"
},

@@ -55,0 +67,0 @@ "peerDependencies": {