astro-viewer 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +9 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "astro-viewer",
3
3
  "description": "Astrobrowser 3d engine.",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "keywords": [
6
6
  "HiPS",
7
7
  "HiPS cutout",
@@ -45,32 +45,35 @@
45
45
  "sideEffects": false,
46
46
  "scripts": {
47
47
  "clean": "shx rm -rf dist lib-esm",
48
+ "dev": "npm run clean && tsc && webpack --mode=development --watch --progress; cp dist/* webtest/",
49
+ "prod": "npm run clean && tsc && webpack --mode=production && npm run web",
48
50
  "build": "npm run clean && tsc && webpack --mode=production",
49
- "build:dev": "npm run clean && tsc && webpack --mode=development --watch --progress",
50
51
  "web": "cp dist/* public/javascripts/; cp -R src/html/javascripts/ public/javascripts/; cp -R src/html/css/ public/css/; cp src/html/*.html public/",
52
+ "start-server": "npx http-server public",
53
+ "all": "npm run clean; npm run prod; npm run start-server",
51
54
  "prepublishOnly": "npm run build"
52
55
  },
53
56
  "engines": {
54
57
  "node": ">=22.0.0"
55
58
  },
56
59
  "devDependencies": {
57
- "canvas": "3.1.0",
58
- "gl-matrix": "^3.3.0",
59
60
  "@types/jest": "^29.0.0",
60
61
  "@types/node": "^18.19.76",
61
62
  "healpixjs": "^1.3.0",
62
63
  "jest": "^29.0.0",
63
- "jsfitsio": "1.2.3",
64
64
  "shx": "^0.3.4",
65
65
  "ts-jest": "^29.0.0",
66
66
  "ts-loader": "^9.0.0",
67
67
  "ts-node": "^10.9.2",
68
68
  "typescript": "^5.0.0",
69
- "wcslight": "1.3.0",
70
69
  "webpack": "^5.0.0",
71
70
  "webpack-cli": "^5.0.0"
72
71
  },
73
72
  "dependencies": {
73
+ "canvas": "3.1.0",
74
+ "gl-matrix": "^3.3.0",
75
+ "jsfitsio": "1.2.3",
76
+ "wcslight": "1.3.0",
74
77
  "cross-fetch": "^3.1.5"
75
78
  },
76
79
  "browser": {