unsplash-js
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -1,2 +0,2 @@ | ||
import Unsplash, { toJson } from "unsplash"; | ||
import Unsplash, { toJson } from "unsplash-js"; | ||
@@ -3,0 +3,0 @@ let unsplash = new Unsplash({ |
@@ -27,2 +27,3 @@ { | ||
"imports-loader": "0.6.5", | ||
"unsplash-js": "../..", | ||
"webpack": "1.12.3", | ||
@@ -29,0 +30,0 @@ "webpack-dev-server": "1.12.1", |
@@ -29,8 +29,2 @@ var path = require('path'); | ||
], | ||
resolve: { | ||
alias: { | ||
'unsplash': path.join(__dirname, '..', '..', 'src/unsplash.js') | ||
}, | ||
extensions: ['', '.js'] | ||
}, | ||
module: { | ||
@@ -42,8 +36,4 @@ loaders: [{ | ||
include: __dirname | ||
}, { | ||
test: /\.js$/, | ||
loaders: ['babel-loader'], | ||
include: path.join(__dirname, '..', '..', 'src') | ||
}] | ||
} | ||
}; |
{ | ||
"name": "unsplash-js", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "A Universal JavaScript wrapper for the Unsplash API", | ||
@@ -5,0 +5,0 @@ "main": "lib/unsplash.js", |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -6,12 +6,17 @@ module.exports = { | ||
loaders: [ | ||
{ test: /\.js$/, loaders: ['babel-loader'], exclude: /node_modules/ } | ||
{ test: /\.js$/, loaders: ["babel-loader"], exclude: /node_modules/ } | ||
] | ||
}, | ||
output: { | ||
library: 'Unsplash', | ||
libraryTarget: 'umd' | ||
library: "Unsplash", | ||
libraryTarget: "umd" | ||
}, | ||
resolve: { | ||
extensions: ['', '.js'] | ||
} | ||
externals: [{ | ||
"whatwg-fetch": { | ||
root: "fetch", | ||
commonjs2: "whatwg-fetch", | ||
commonjs: "whatwg-fetch", | ||
amd: "whatwg-fetch" | ||
} | ||
}] | ||
}; |
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
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
96429
2020