cp-multi-selector
Advanced tools
Comparing version 1.3.13 to 2.0.0
@@ -37,8 +37,8 @@ // Karma configuration | ||
'node_modules/canopy-styleguide/build/styleguide.css', | ||
'node_modules/jquery/dist/jquery.js', | ||
'node_modules/angular/angular.js', | ||
'node_modules/lodash/lodash.js', | ||
'https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.js', | ||
'https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.8/angular.js', | ||
'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.13.0/lodash.js', | ||
'node_modules/angular-mocks/angular-mocks.js', | ||
'build/*.js', | ||
'src/*spec.js' | ||
'src/index.js', | ||
'src/*spec.js', | ||
], | ||
@@ -56,5 +56,31 @@ | ||
preprocessors: { | ||
'src/index.js': ['webpack'], | ||
}, | ||
webpack: { | ||
output: { | ||
filename: 'cp-multi-selector.js', | ||
}, | ||
module: { | ||
loaders: [{ | ||
test: /\.js$/, | ||
exclude: /node_modules/, | ||
loader: 'babel-loader' | ||
}, { | ||
test: /\.css$/, | ||
loader: "style-loader!css-loader!autoprefixer" | ||
}, { | ||
test: /\.html$/, | ||
loader: "html-loader" | ||
}] | ||
}, | ||
externals: { | ||
'angular': 'angular', | ||
'lodash': '_', | ||
'jquery': '$', | ||
} | ||
}, | ||
// test results reporter to use | ||
@@ -61,0 +87,0 @@ // possible values: 'dots', 'progress' |
{ | ||
"name": "cp-multi-selector", | ||
"version": "1.3.13", | ||
"version": "2.0.0", | ||
"description": "Component Description", | ||
@@ -8,3 +8,3 @@ "main": "build/cp-multi-selector.js", | ||
"test": "node node_modules/karma/bin/karma start", | ||
"build": "webpack --optimize-minimize" | ||
"build": "webpack" | ||
}, | ||
@@ -22,2 +22,3 @@ "repository": { | ||
"devDependencies": { | ||
"angular-mocks": "^1.5.0", | ||
"autoprefixer-loader": "^3.2.0", | ||
@@ -33,3 +34,3 @@ "babel-core": "^5.8.29", | ||
"karma-phantomjs-launcher": "^0.1.4", | ||
"lodash": "^4.8.1", | ||
"karma-webpack": "^1.8.0", | ||
"ngmin": "^0.5.0", | ||
@@ -40,9 +41,9 @@ "ngmin-webpack-plugin": "^0.1.3", | ||
}, | ||
"dependencies": { | ||
"peerDependencies": { | ||
"angular": "^1.5.0", | ||
"angular-mocks": "^1.5.0", | ||
"jquery": "^2.2.2" | ||
"jquery": ">=2", | ||
"lodash": ">=4" | ||
}, | ||
"optionalDependencies": { | ||
"canopy-styleguide": "^4.1.32" | ||
"canopy-styleguide": "^5.2.0" | ||
}, | ||
@@ -49,0 +50,0 @@ "publishConfig": { |
@@ -12,3 +12,5 @@ var path = require('path'); | ||
path: './build', | ||
filename: name + '.js' | ||
filename: name + '.js', | ||
library: name, | ||
libraryTarget: 'commonjs', | ||
}, | ||
@@ -29,5 +31,5 @@ module: { | ||
externals: { | ||
"jquery": "$", | ||
"angular": "angular", | ||
"lodash": "_" | ||
'angular': 'angular', | ||
'lodash': '_', | ||
'jquery': '$', | ||
}, | ||
@@ -39,3 +41,3 @@ plugins: [ | ||
author: Bret Little\n\ | ||
copyright: 2015\n\ | ||
copyright: 2016\n\ | ||
license: MIT\n\ | ||
@@ -42,0 +44,0 @@ version: " + version) |
Sorry, the diff of this file is not supported yet
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
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
4709
1
253907
16
73
+ Addedjquery@3.7.1(transitive)
+ Addedlodash@4.17.21(transitive)
- Removedangular@^1.5.0
- Removedangular-mocks@^1.5.0
- Removedjquery@^2.2.2
- Removedangular-mocks@1.8.3(transitive)
- Removedjquery@2.2.4(transitive)