1.0.0 • Published 2 years ago
@caary-capital/caary-accounting v1.0.0
Package.json configuration
Peer dependencies
Having a peer dependency means that your package needs a dependency that is the same exact dependency as the person installing your package. This is useful for packages like react that need to have a single copy of react-dom that is also used by the person installing it.
Files
This is simply telling npm that only the dist folder should be installed when someone installs our package.
.babelrc file
it helps in building package
npm run build
on running this command the index.js file inside src and all the other files linked with it will move it to the dist folder which we have mentioned in the main inside package.json
1.0.0
2 years ago