filestack-react
Advanced tools
Comparing version 1.3.4 to 1.3.5
{ | ||
"name": "filestack-react", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"main": "dist/filestack-react.js", | ||
@@ -5,0 +5,0 @@ "description": "react component for filestack", |
@@ -1,2 +0,2 @@ | ||
[![NPM Version](https://img.shields.io/badge/npm-1.3.4-red.svg)](https://www.npmjs.com/package/filestack-react) | ||
[![NPM Version](https://img.shields.io/badge/npm-1.3.5-red.svg)](https://www.npmjs.com/package/filestack-react) | ||
[![coverage](https://img.shields.io/badge/coverage-100%25-red.svg)](https://www.npmjs.com/package/filestack-react) | ||
@@ -129,6 +129,14 @@ [![Package Quality](http://npm.packagequality.com/shield/react-filestack.svg)](http://packagequality.com/#?package=react-filestack) | ||
## Result | ||
## Examples | ||
You can find the example in ``/examples/demo``. | ||
Run | ||
```javascript | ||
yarn start | ||
``` | ||
and connect to localhost:8080. | ||
![filestack](https://cloud.githubusercontent.com/assets/10962668/23750309/ac3e1080-050f-11e7-922d-ee9deb8251a3.png) | ||
@@ -135,0 +143,0 @@ |
@@ -6,3 +6,3 @@ const path = require('path'); | ||
module.exports = [{ | ||
module.exports = { | ||
entry: './src/ReactFilestack', | ||
@@ -34,28 +34,2 @@ output: { | ||
], | ||
}, { | ||
entry: './examples/demo/demo.jsx', | ||
output: { | ||
path: path.join(__dirname, 'examples/demo/dist'), | ||
filename: 'demo.js' | ||
}, | ||
devtool: 'source-map', | ||
resolve: { | ||
modules: ['node_modules', 'examples/demo'], | ||
extensions: ['.json', '.js', '.jsx'], | ||
}, | ||
module: { rules }, | ||
plugins: [ | ||
new webpack.LoaderOptionsPlugin({ | ||
minimize: true, | ||
}), | ||
new webpack.DefinePlugin({ | ||
'process.env.NODE_ENV': JSON.stringify('production'), | ||
}), | ||
new webpack.optimize.UglifyJsPlugin({ | ||
sourceMap: true, | ||
compress: { | ||
warnings: false, | ||
}, | ||
}), | ||
], | ||
}]; | ||
}; |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
46
192
1336160
1487
4