New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

javascript-color-gradient

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javascript-color-gradient - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

8

package.json
{
"name": "javascript-color-gradient",
"version": "1.3.0",
"version": "1.3.1",
"description": "javascript-color-gradient is a lightweight JavaScript library, used to generate an array of color gradients by providing start and finish colors, as well as the required number of midpoints. ",
"main": "dist/index.js",
"main": "src/index.js",
"scripts": {
"test": "mocha src/index.test.js -w",
"prebuild": "rimraf dist",
"prebuild": "rimraf src",
"build": "npm-run-all --parallel build:*",
"build:main": "babel --out-dir dist --ignore *.test.js src",
"build:main": "babel --out-dir src --ignore *.test.js src",
"build:umd": "webpack --output-filename index.umd.js",

@@ -12,0 +12,0 @@ "build:umd.min": "webpack --output-filname index.umd.min.js -p"

@@ -1,14 +0,13 @@

import { join } from 'path'
const path = require("path");
const include = join(__dirname, 'src');
const include = path.join(__dirname, "src");
export default {
entry: './src/index',
output: {
path: join(__dirname, 'dist'),
libraryTarget: 'umd',
library: 'javascriptColorGradient',
},
devtool: 'source-map'
}
entry: "./src/index",
output: {
path: include,
libraryTarget: "umd",
library: "javascriptColorGradient",
},
devtool: "source-map",
};
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