jk-ui-components

0.0.11 • Public • Published

publish to npm

npm publish

publish dist folder as root for npm repository

npm run build cp package.json ./dist

or, if you need to have package.json "main" entry different,

e.g. for being able to use npm link, you need to replace "main"

value:

sed 's#"main": "./dist/index.js"#"main": "./index.js"#' package.json > ./dist/package.json

cd ./dist npm publish So just basically copy your package.json into the dist/ folder and then run npm publish from within the dist/ folder

/jk-ui-components/

    Package Sidebar

    Install

    npm i jk-ui-components

    Weekly Downloads

    2

    Version

    0.0.11

    License

    none

    Unpacked Size

    6.62 MB

    Total Files

    79

    Last publish

    Collaborators

    • jitendra.saroj93