0.0.20 • Published 5 months ago
fmus-mergemate-models v0.0.20
My TypeScript Package
This README outlines the steps to create and use a local NPM package written in TypeScript.
Setup and Initialization
Create and Initialize Package
- Create a new directory and initialize it with NPM.
mkdir my-package cd my-package npm init
- Create a new directory and initialize it with NPM.
TypeScript Setup
- Install TypeScript as a dev dependency and initialize the configuration.
npm install typescript --save-dev npx tsc --init
- Install TypeScript as a dev dependency and initialize the configuration.
Development
Write Your Code
- Create TypeScript
.ts
files in your project.
- Create TypeScript
Compile TypeScript npm run build
Preparing for NPM
Configure
package.json
- Specify the main entry point and other relevant information.
Publish your package to NPM: npm login npm publish
- Local Linking (Optional)
- Use
npm link
to test the package locally in another project.npm link
- In the consuming project:
npm link my-package
- Use
Publishing to NPM (Optional)
- Publish Your Package
- If desired, publish the package to the npm registry.
npm publish
- If desired, publish the package to the npm registry.
Remember to adjust the steps based on your specific requirements and package complexity.
0.0.20
5 months ago
0.0.10
5 months ago
0.0.11
5 months ago
0.0.12
5 months ago
0.0.13
5 months ago
0.0.14
5 months ago
0.0.15
5 months ago
0.0.9
5 months ago
0.0.16
5 months ago
0.0.8
5 months ago
0.0.17
5 months ago
0.0.18
5 months ago
0.0.19
5 months ago
0.0.7
5 months ago
0.0.6
5 months ago
0.0.3
5 months ago
0.0.5
5 months ago
0.0.4
5 months ago
0.0.2
5 months ago
0.0.1
5 months ago