npm-test-publish-components

0.0.1 • Public • Published

npx create-react-app npm-test

cd npm-test

yarn start

Remove all files inside /src less App.js and index.js

npm install --save-dev @babel/core @babel/cli @babel/preset-env

npm install -save @babel/polyfill

create babel.config.json

replace build command un package.json for "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files"

npm run build

npm config set registry https://registry.npmjs.org/

/npm-test-publish-components/

    Package Sidebar

    Install

    npm i npm-test-publish-components

    Weekly Downloads

    0

    Version

    0.0.1

    License

    none

    Unpacked Size

    3.69 kB

    Total Files

    5

    Last publish

    Collaborators

    • xlameiro