Socket
Socket
Sign inDemoInstall

cp-multi-selector

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cp-multi-selector - npm Package Compare versions

Comparing version 1.3.13 to 2.0.0

36

karma.conf.js

@@ -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'

15

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc