A short description of the package here.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
Important
Required files
package.json
: The package.json file must be present in the root of the repository. It must contain ascripts
object and should also define thepackageManager
field (e.g."packageManager": "[email protected]"
, or"packageManager": "[email protected]"
)
Required scripts
format
: Theformat
script must be present in thepackage.json
file.lint
: Thelint
script must be present in thepackage.json
file.clean
: Theclean
script must be present in thepackage.json
file.test
: Thetest
script must be present in thepackage.json
file. It must generate acoverage/lcov.info
file with the test coverage report.build
: Thebuild
script must be present in thepackage.json
file. It must generate the distributable files in thedist
directory.
Optional scripts
archive
: Thearchive
script is optional. If present, it must generate a tarball of the package in theout
directory.publish
: Thepublish
script is optional. If present, it must publish the package to the registry.docs
: Thedocs
script is optional. If present, it must generate the documentation in thesite
directory.image
: Theimage
script is optional. If present, it must build a container image of the package.
# if not already, install bun:
# curl -fsSL https://bun.sh/install | bash
# or:
# powershell -c "irm bun.sh/install.ps1 | iex"
bun install
bun all
# Ths should produce:
# - A `dist` directory with the distributable files (index.html, assets/ ...)
# - A `site` directory with the documentation (site/index.html, site/assets/ ...)
# - An `out` directory with the tarball of the package (out/my-package-1.0.0.tgz)
# - A `coverage` directory with the test coverage report (coverage/lcov.info, ...)
This project is licensed under the Apache License, Version 2.0 (Apache-2.0).