Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "d3-color", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
}, | ||
"main": "build/d3-color.js", | ||
"main": "dist/d3-color.min.js", | ||
"module": "index", | ||
@@ -31,6 +31,6 @@ "jsnext:main": "index", | ||
"scripts": { | ||
"pretest": "rm -rf build && mkdir build && rollup -c", | ||
"pretest": "rollup -c", | ||
"test": "tape 'test/**/*-test.js' && eslint index.js src test", | ||
"prepublish": "yarn test", | ||
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-color/build/d3-color.js d3-color.v1.js && cp ../d3-color/build/d3-color.min.js d3-color.v1.min.js && git add d3-color.v1.js d3-color.v1.min.js && git commit -m \"d3-color ${npm_package_version}\" && git push && cd - && zip -j build/d3-color.zip -- LICENSE README.md build/d3-color.js build/d3-color.min.js" | ||
"prepublishOnly": "rm -rf dist && yarn test", | ||
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v1.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v1.min.js && git add ${npm_package_name}.v1.js ${npm_package_name}.v1.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
@@ -8,7 +8,8 @@ import {terser} from "rollup-plugin-terser"; | ||
output: { | ||
file: `build/${meta.name}.js`, | ||
file: `dist/${meta.name}.js`, | ||
name: "d3", | ||
format: "umd", | ||
indent: false, | ||
extend: true, | ||
banner: `// ${meta.homepage} Version ${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}.`, | ||
banner: `// ${meta.homepage} v${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}`, | ||
globals: Object.assign({}, ...Object.keys(meta.dependencies || {}).map(key => ({[key]: "d3"}))) | ||
@@ -25,3 +26,3 @@ }, | ||
...config.output, | ||
file: `build/${meta.name}.min.js` | ||
file: `dist/${meta.name}.min.js` | ||
}, | ||
@@ -28,0 +29,0 @@ plugins: [ |
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
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
1090
88576
1