Files
astronomy/source/js/package.json
Mateo Tibaquira 992aaf4ea1 JS: Library capable of tree-shaking
I found that the Angular bundles had all the astronomy-engine library for a total of 90.62Kb
after this change Angular is able to reduce the demo module to 54.56Kb

Based on https://toastui.medium.com/building-a-ui-library-capable-of-tree-shaking-from-a-to-z-b3f8a9be589f
2021-02-08 20:09:17 -05:00

42 lines
896 B
JSON

{
"name": "astronomy-engine",
"version": "2.0.0",
"description": "Astronomy calculation for Sun, Moon, and planets.",
"main": "./astronomy.js",
"module": "./esm/astronomy.js",
"typings": "./astronomy.d.ts",
"files": [
"esm/astronomy.js",
"astronomy.js",
"astronomy.min.js",
"astronomy.browser.js",
"astronomy.browser.min.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cosinekitty/astronomy.git"
},
"keywords": [
"astronomy",
"ephemeris",
"planet",
"sun",
"moon",
"solar",
"system",
"sunrise",
"sunset",
"equinox",
"solstice",
"constellation",
"orbit"
],
"author": "Donald Cross",
"license": "MIT",
"bugs": {
"url": "https://github.com/cosinekitty/astronomy/issues"
},
"homepage": "https://github.com/cosinekitty/astronomy#readme",
"sideEffects": false
}