4.0.0 • Published 3 years ago
darraghking v4.0.0
Global Interface NPM Package
Package to contain all shared interfaces, components, styles and other resources.
Exported interfaces:
Testing before publishing to NPM
To test that it works locally before you publish:
1. In your package
run npm link
Go to another folder and run
npm link darraghking
Go into a .ts file and import package name:
import { IF!, IF2, IF3 } from 'darraghking'
You should see your types coming through in your editor.
Build
npm run build
Publish to NPM
npm publish --access public