je-marketing-components

0.3.14 • Public • Published

je-marketing-components

Creating components

Once you have made a component, you need to export it from the index.js file in the root of the componenet folder, update the version in the package.json and then run:

$ npm run build-bundle
$ yarn build-bundle

Build a local copy of the component on your machine by running the following in the root of this project:

$ yalc publish

Then add it to the project repo by running:

$ yalc add je-marketing-components@x.x.xx

Onece you are happy with the way they work in your project, you can publish them to the je-marketing-team NPM using:

$ npm publish --access public
$ yarn publish

Components usage

Install the package using:

npm install --save je-marketing-components
yarn add je-marketing-components

Then in your main.js, or a similar entry point, just import your library using:

import 'je-marketing-components';

Readme

Keywords

none

Package Sidebar

Install

npm i je-marketing-components

Weekly Downloads

21

Version

0.3.14

License

none

Unpacked Size

8.33 MB

Total Files

119

Last publish

Collaborators

  • je-marketing-team