@shipers-dev/factory
v0.0.4
Published
A TypeScript library
Downloads
4
Readme
@shipers/factory
A TypeScript library built with Bun.
Installation
npm install @shipers/factory
# or
yarn add @shipers/factory
# or
pnpm add @shipers/factory
# or
bun add @shipers/factoryUsage
import { /* your exports */ } from '@shipers/factory';
// Your usage examples hereDevelopment
Install dependencies
bun installBuild the library
bun run buildThis will compile TypeScript files and generate type declarations in the dist/ folder.
Run tests
bun testProject Structure
.
├── src/ # Source files
│ └── index.ts # Main entry point
├── dist/ # Compiled output (generated)
├── package.json
├── tsconfig.json
└── README.mdPublishing
Before publishing, make sure to:
- Update the version in
package.json - Fill in the
author,keywords, andrepositoryfields - Run
bun run buildto ensure everything compiles - Run
npm publish(orbun publish)
The prepublishOnly script will automatically build the library before publishing.
License
MIT
