react-best-gradient-color-picker
Advanced tools
Comparing version 3.0.10-beta.10 to 3.0.10-beta.11
{ | ||
"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": { | ||
} | ||
} | ||
} |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
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
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
23591
27
3
0
2
No