UNPKG

solar-calculator

Version:

Equations for computing the position of the Sun.

36 lines (35 loc) 1.2 kB
{ "name": "solar-calculator", "version": "0.3.0", "description": "Equations for computing the position of the Sun.", "keywords": [ "solar", "sun" ], "homepage": "https://github.com/mbostock/solar-calculator", "license": "ISC", "author": { "name": "Mike Bostock", "url": "https://bost.ocks.org/mike/" }, "main": "dist/solar-calculator.js", "module": "src/index", "repository": { "type": "git", "url": "https://github.com/mbostock/solar-calculator.git" }, "scripts": { "pretest": "rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n solar -o dist/solar-calculator.js -- src/index.js", "test": "tape 'test/**/*-test.js' && eslint src", "prepublish": "npm run pretest && uglifyjs --preamble \"$(preamble)\" dist/solar-calculator.js -c -m -o dist/solar-calculator.min.js", "postpublish": "git push && git push --tags && zip -j dist/solar-calculator.zip -- LICENSE README.md dist/solar-calculator.js dist/solar-calculator.min.js" }, "devDependencies": { "d3-time": "^1.0.6", "eslint": "^3.19.0", "package-preamble": "^0.1.0", "rollup": "^0.42.0", "tape": "^4.6.3", "uglify-js": "^3.0.15" } }