1.0.0 • Published 3 years ago
global-utils v1.0.0
global-utils
Made with create-react-library
Install
npm install --save global-utils
Usage
import React, { Component } from 'react'
import MyComponent from 'global-utils'
import 'global-utils/dist/index.css'
class Example extends Component {
render() {
return <MyComponent />
}
}
Deploy new version
In order to be able to publish, user have to login to NPM or have .npmrc
file
Content of .npmrc
@dappradar:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=github_token
Github Token can be generated at https://github.com/settings/tokens
(it has to have write:packages
privileges)
1. Update version in package.json
2. npm run prepare
3. npm publish
License
MIT © Giedrius Vickus(https://github.com/Giedrius Vickus)