1.0.1 • Published 4 years ago

oplibrary v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Package Steps!

npm init

Add READMED.md and CODE_OF_CONDUCT.md

Create the index.js file module.export { a, b };

import it in the script section in the package.json "build": "babel --copy-files src -d lib",

Transpiling

install

"@babel/cli": "7.8.4",

"@babel/core": "7.9.0",

"@babel/preset-env": "7.9.5"

Configuring babel, using a babel.rc or add it to the package.json

{
    "presets": [
        "@babel/preset-env"
    ],
    "ignore": [
        "**/*.test.js"
    ]
}

npm run build