-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 4.02 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "fitsjs-ng",
"version": "1.0.2",
"description": "Modern TypeScript library for reading and writing FITS/XISF astronomical files",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"react-native": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"react-native": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"clean": "node -e \"const fs=require('fs');['dist','docs/.vitepress/dist','docs/.vitepress/cache','coverage'].forEach(d=>{fs.rmSync(d,{recursive:true,force:true})})\"",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"typecheck": "tsc --noEmit",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"prepare": "husky",
"prepublishOnly": "pnpm run build && pnpm run publint",
"prepack": "pnpm run clean && pnpm run build",
"publint": "publint",
"pack:check": "pnpm pack && node -e \"require('fs').unlinkSync(require('./package.json').name+'-'+require('./package.json').version+'.tgz')\"",
"size": "size-limit --config .size-limit.mjs",
"size:analyze": "size-limit --config .size-limit.mjs --why",
"release:patch": "pnpm version patch && git push --follow-tags",
"release:minor": "pnpm version minor && git push --follow-tags",
"release:major": "pnpm version major && git push --follow-tags",
"publish:dry": "pnpm publish --dry-run --no-git-checks",
"publish:npm": "pnpm publish --no-git-checks --access public",
"publish:gpr": "pnpm publish --no-git-checks --registry https://npm.pkg.github.com",
"demo": "tsx demo/index.ts",
"demo:all": "pnpm run demo && pnpm run demo:xisf && pnpm run demo:ser && pnpm run demo:hips",
"demo:hips": "tsx demo/hips-node.ts",
"demo:xisf": "tsx demo/xisf-node.ts",
"demo:ser": "tsx demo/ser-node.ts",
"demo:perf": "tsx demo/perf-fits.ts",
"demo:perf:loading": "tsx demo/perf-loading.ts",
"demo:perf:ser": "tsx demo/perf-ser.ts",
"demo:web": "pnpm run build && pnpm dlx serve ."
},
"keywords": [
"astronomy",
"astrophysics",
"fits",
"data",
"science",
"image",
"table"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ElementAstro/fitsjs-ng.git"
},
"homepage": "https://github.com/ElementAstro/fitsjs-ng#readme",
"bugs": {
"url": "https://github.com/ElementAstro/fitsjs-ng/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@9.15.4",
"dependencies": {
"@fxpineau/moc-wasm": "^0.11.0",
"@hscmap/healpix": "^1.4.12",
"@xmldom/xmldom": "^0.8.11",
"fast-png": "^8.0.0",
"fflate": "^0.8.2",
"fzstd": "^0.1.1",
"jpeg-js": "^0.4.4",
"js-sha3": "^0.9.3",
"lz4js": "^0.2.0"
},
"devDependencies": {
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.4.1",
"@eslint/js": "^9.0.0",
"@size-limit/preset-small-lib": "^11.2.0",
"@types/lz4js": "^0.2.2",
"@types/node": "^25.2.3",
"@vitest/coverage-v8": "^4.0.18",
"eslint": "^9.0.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"publint": "^0.3.12",
"size-limit": "^11.2.0",
"tsup": "^8.5.1",
"tsx": "^4.19.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.55.0",
"vitepress": "^1.6.4",
"vitest": "^4.0.18"
}
}