AladinLiteSrc -> AladinLiteAssets

This commit is contained in:
Matthieu BAUMANN
2023-01-31 17:02:25 +01:00
parent 90f5c9b8d4
commit 3a57cbac1a
2 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@@ -8,4 +8,4 @@ package-lock.json
src/core/target/ src/core/target/
src/core/Cargo.lock src/core/Cargo.lock
AladinLiteSrc.tar.gz AladinLiteAssets.tar.gz

View File

@@ -2,9 +2,9 @@
"homepage": "https://bmatthieu3.github.io/hips_webgl_renderer/", "homepage": "https://bmatthieu3.github.io/hips_webgl_renderer/",
"name": "hips_webgl_renderer", "name": "hips_webgl_renderer",
"scripts": { "scripts": {
"predeploy": "npm run build", "package-tar": "tar -zcvf AladinLiteAssets.tar.gz dist/*",
"package-tar": "npm run predeploy && tar -zcvf AladinLiteSrc.tar.gz dist/*", "predeploy": "npm run build && npm run package-tar",
"deploy": "npm run package-tar && ./deploy-dbg.sh", "deploy": "./deploy-dbg.sh",
"build": "webpack && sed \"s/\\\\.\\\\/\\\\.\\\\.\\\\/aladin\\\\.js/https:\\\\/\\\\/aladin.cds.unistra.fr\\\\/AladinLite\\\\/api\\\\/v3\\\\/latest\\\\/aladin.js/g\" examples/index.html > dist/index.html", "build": "webpack && sed \"s/\\\\.\\\\/\\\\.\\\\.\\\\/aladin\\\\.js/https:\\\\/\\\\/aladin.cds.unistra.fr\\\\/AladinLite\\\\/api\\\\/v3\\\\/latest\\\\/aladin.js/g\" examples/index.html > dist/index.html",
"serve": "webpack-dev-server" "serve": "webpack-dev-server"
}, },