Files
aladin-lite/package.json
Matthieu Baumann 5efcb20b5c tag 3.3.0
2024-03-25 17:13:37 +01:00

59 lines
1.8 KiB
JSON

{
"homepage": "https://aladin.u-strasbg.fr/",
"name": "aladin-lite",
"type": "module",
"version": "3.3.0",
"description": "An astronomical HiPS visualizer in the browser",
"author": "Thomas Boch and Matthieu Baumann",
"license": "GPL-3",
"module": "./dist/aladin.js",
"main": "./dist/aladin.js",
"files": [
"dist/aladin.js",
"dist/aladin.umd.cjs",
"dist/index.html"
],
"exports": {
".": {
"import": "./dist/aladin.js",
"require": "./dist/aladin.umd.cjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/cds-astro/aladin-lite"
},
"email": "cds-question@unistra.fr",
"keywords": [
"astronomy",
"visualization",
"rust",
"webgl",
"HiPS"
],
"scripts": {
"wasm": "wasm-pack build ./src/core --target web --release --out-name core -- --features webgl2 -Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort ",
"predeploy": "npm run build && rm -rf aladin-lite.tgz && npm pack",
"deploy": "python3 deploy/deploy.py",
"build": "npm run wasm && vite build && cp examples/index.html dist/index.html",
"dev": "npm run build && vite",
"serve": "npm run dev",
"preview": "vite preview",
"test:build": "cd src/core && cargo test --release --features webgl2",
"test:unit": "vitest run",
"doc": "jsdoc -d doc --readme README.md src/js && cp aladin-logo.png doc/",
"doc:dev": "npm run doc && open doc/index.html"
},
"devDependencies": {
"happy-dom": "^10.11.0",
"jsdoc": "^4.0.2",
"vite": "^4.3.8",
"vite-plugin-css-injected-by-js": "^3.1.1",
"vite-plugin-glsl": "^1.1.2",
"vite-plugin-top-level-await": "^1.3.1",
"vite-plugin-wasm": "^3.2.2",
"vite-plugin-wasm-pack": "^0.1.12",
"vitest": "^0.32.2"
}
}