UNPKG

1.79 kBJSONView Raw
1{
2 "name": "d3-scale",
3 "version": "4.0.2",
4 "description": "Encodings that map abstract data to visual representation.",
5 "homepage": "https://d3js.org/d3-scale/",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/d3/d3-scale.git"
9 },
10 "keywords": [
11 "d3",
12 "d3-module",
13 "scale",
14 "visualization"
15 ],
16 "license": "ISC",
17 "author": {
18 "name": "Mike Bostock",
19 "url": "https://bost.ocks.org/mike"
20 },
21 "type": "module",
22 "files": [
23 "dist/**/*.js",
24 "src/**/*.js"
25 ],
26 "module": "src/index.js",
27 "main": "src/index.js",
28 "jsdelivr": "dist/d3-scale.min.js",
29 "unpkg": "dist/d3-scale.min.js",
30 "exports": {
31 "umd": "./dist/d3-scale.min.js",
32 "default": "./src/index.js"
33 },
34 "sideEffects": false,
35 "dependencies": {
36 "d3-array": "2.10.0 - 3",
37 "d3-format": "1 - 3",
38 "d3-interpolate": "1.2.0 - 3",
39 "d3-time": "2.1.1 - 3",
40 "d3-time-format": "2 - 4"
41 },
42 "devDependencies": {
43 "d3-color": "1 - 3",
44 "eslint": "7",
45 "mocha": "9",
46 "rollup": "2",
47 "rollup-plugin-terser": "7"
48 },
49 "scripts": {
50 "test": "TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test",
51 "prepublishOnly": "rm -rf dist && yarn test && rollup -c",
52 "postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd -"
53 },
54 "engines": {
55 "node": ">=12"
56 }
57}