UNPKG

971 BJSONView Raw
1{
2 "name": "d3-format",
3 "version": "0.3.4",
4 "description": "Format numbers for human consumption.",
5 "keywords": [
6 "d3",
7 "format"
8 ],
9 "homepage": "https://github.com/d3/d3-format",
10 "license": "BSD-3-Clause",
11 "author": {
12 "name": "Mike Bostock",
13 "url": "http://bost.ocks.org/mike"
14 },
15 "main": "build/format.cjs",
16 "jsnext:main": "index",
17 "repository": {
18 "type": "git",
19 "url": "https://github.com/d3/d3-format.git"
20 },
21 "scripts": {
22 "pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/format.cjs.js",
23 "test": "faucet `find test -name '*-test.js'`",
24 "prepublish": "npm run test && d3-bundler -n format -o build/format.js && uglifyjs build/format.js -c -m -o build/format.min.js && rm -f build/format.zip && zip -j build/format.zip -- LICENSE README.md build/format.js build/format.min.js"
25 },
26 "devDependencies": {
27 "d3-bundler": "~0.4.0",
28 "faucet": "0.0",
29 "tape": "4",
30 "uglify-js": "2"
31 }
32}