Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-best-gradient-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-best-gradient-color-picker - npm Package Compare versions

Comparing version 3.0.10-beta.10 to 3.0.10-beta.11

71

package.json
{
"name": "react-best-gradient-color-picker",
"version": "3.0.10-beta.10",
"version": "3.0.10-beta.11",
"description": "An easy to use color/gradient picker for React.js",
"type": "module",
"sideEffects": [
"*.css"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"source": "./src/index.ts",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./dist/Picker.css": "./dist/Picker.css"
},
"sideEffects": false,
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"build": "yarn build-js && yarn copy-styles",
"build-js": "yarn build-js-esm && yarn build-js-cjs && yarn build-js-cjs-package",
"build-js-esm": "tsc --project tsconfig.build.json --outDir dist/esm",
"build-js-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --moduleResolution node --verbatimModuleSyntax false",
"build-js-cjs-package": "echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
"clean": "rimraf dist",
"copy-styles": "cpy 'src/**/*.css' dist/esm && cpy 'src/**/*.css' dist/cjs",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"prepack": "yarn clean && yarn build",
"prettier": "prettier --check . --cache",
"test": "yarn lint && yarn tsc && yarn prettier && yarn unit",
"tsc": "tsc",
"unit": "vitest",
"watch": "yarn build-js-esm --watch & yarn build-js-cjs --watch & nodemon --watch src --ext css --exec \"yarn copy-styles\""
"test": "npm run jest && npm run eslint",
"jest": "jest",
"eslint": "eslint src/**/*.js",
"lib": "npm run clean-lib && babel src -d lib",
"es": "npm run clean-es && node scripts/use-module-babelrc.js && babel src -d es && node scripts/restore-original-babelrc.js",
"clean-lib": "rm -rf lib && mkdir lib",
"clean-es": "rm -rf es && mkdir es",
"prepublish": "npm run lib && npm run es"
},
"files": [
"dist",
"src"
],
"repository": {

@@ -70,2 +48,11 @@ "type": "git",

"@types/tinycolor2": "^1.4.6",
"babel-cli": "^6.8.0",
"babel-core": "^6.10.4",
"babel-jest": "^20.0.3",
"babel-loader": "^6.2.1",
"babel-plugin-transform-rename-import": "^2.3.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"babel-register": "^6.5.2",
"cpy-cli": "^3.1.1",

@@ -93,2 +80,16 @@ "eslint": "8.22.0",

},
"files": [
"lib",
"es"
],
"jest": {
"rootDir": "src",
"testRegex": "spec.js$"
},
"eslintConfig": {
"extends": "@case",
"rules": {
"no-magic-numbers": 0
}
},
"license": "MIT",

@@ -102,2 +103,2 @@ "bugs": {

}
}
}
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