@chubbyts/chubbyts-packaging
Version:
66 lines (49 loc) • 3.58 kB
Markdown
# chubbyts-packaging
[](https://github.com/chubbyts/chubbyts-packaging/actions?query=workflow%3ACI)
[](https://coveralls.io/github/chubbyts/chubbyts-packaging?branch=master)
[](https://dashboard.stryker-mutator.io/reports/github.com/chubbyts/chubbyts-packaging/master)
[](https://www.npmjs.com/package/@chubbyts/chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-packaging)
## Description
Packaging helper
## Requirements
* node: 18
## Installation
Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-packaging][1].
```ts
npm i -D @chubbyts/chubbyts-packaging@^4.0.0
```
### package.json
```json
"type": "module",
"scripts": {
"build": "node ./build.mjs",
...
},
"exports": {
"./*": {
"types": "./*.d.ts",
"require": "./*.cjs",
"import": "./*.mjs",
"default": "./*.mjs"
}
}
```
### Symlinks
```sh
ln -sf node_modules/@chubbyts/chubbyts-packaging/dist/build.mjs .
ln -sf node_modules/@chubbyts/chubbyts-packaging/tsconfig.json .
```
## Copyright
2025 Dominik Zogg
[1]: https://www.npmjs.com/package/@chubbyts/chubbyts-packaging