react-responsive-picture
Advanced tools
Comparing version
# Changelog | ||
## v1.0.2 | ||
- Generates multiple module types when releasing the package | ||
## v1.0.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"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": { |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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 tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
211397
839.29%15
50%4420
1177.46%16
33.33%2
100%3
Infinity%