hyparquet/package.json
Sylvain Lesage 09ae9400c5
build types before publishing to npm (#46)
* build types before publishing to npm

* use prepare instead of prepublishOnly + make it clear that we only build types

doc for prepare vs prepublishOnly is here: https://docs.npmjs.com/cli/v8/using-npm/scripts

* no jsx in this lib

* relative imports from the root, so that it works from types/

* remove unused hyparquet.d.ts + report differences to jsdoc in files

* try to understand if this is the cause of the failing CI check

tsc fails: https://github.com/hyparam/hyparquet/actions/runs/12040954822/job/33571851170?pr=46

* Revert "try to understand if this is the cause of the failing CI check"

This reverts commit 5e2fc8ca179064369de71793ab1cda3facefddc7.

* not sure what happens, but we just need to ensure the types are created correctly

* increment version

* Explicitly export types for use in downstream typescript projects

* Use new typescript jsdoc imports for smaller package

* Combine some files and use @import jsdoc

* use the local typescript

---------

Co-authored-by: Kenny Daniel <platypii@gmail.com>
2024-12-02 17:47:42 +01:00

41 lines
925 B
JSON

{
"name": "hyparquet",
"version": "1.6.2",
"description": "parquet file parser for javascript",
"keywords": [
"parquet",
"parser",
"snappy",
"thrift"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hyparam/hyparquet.git"
},
"main": "src/hyparquet.js",
"files": [
"types",
"src"
],
"type": "module",
"types": "types/hyparquet.d.ts",
"scripts": {
"build:types": "tsc -p ./tsconfig.build.json",
"coverage": "vitest run --coverage --coverage.include=src",
"lint": "eslint .",
"prepare": "npm run build:types",
"test": "vitest run"
},
"devDependencies": {
"@types/node": "22.10.1",
"@vitest/coverage-v8": "2.1.6",
"eslint": "9.16.0",
"eslint-plugin-jsdoc": "50.6.0",
"hyparquet-compressors": "0.1.4",
"typescript": "5.7.2",
"typescript-eslint": "8.16.0",
"vitest": "2.1.6"
}
}