@ubumtu/lib-u
v2.8.25
Published
Ubumtu Marketing & Tech
Downloads
91
Readme
PACKAGE
Greymass TypeScript library template, intended for libraries that work in any JavaScript context (node.js, Browser, React native), @types/node
are installed only for tests, don't rely on any node.js types or imports inside src/
(no buffer
, crypto
imports etc, they can be filled for browser but will bloat the bundle 100x)
Installation
The PACKAGE
package is distributed as a module on npm.
yarn add PACKAGE
# or
npm install --save PACKAGE
uninstall rollup-plugin-terser
rollup.config.mjs foi removido a duplicidade que tinha
// {
// input: 'src/index.ts',
// output: {banner, file: pkg.types, format: 'esm'},
// plugins: [dts()],
// },
Usage
TODO
Developing
You need Make, node.js and yarn installed.
Clone the repository and run make
to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint
.
Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.
Teste // package.json { "name": "meu-design-system", "version": "1.0.0", "main": "dist/index.js", "module": "dist/index.esm.js", "files": [ "dist" ], "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" }, "scripts": { "build": "babel src --out-dir dist --copy-files", "prepublishOnly": "npm run build" } }