Opinionately compiles ./src -> ./dist. Zero config
npx @usulpro/package-prepare
it will compile your src
to dist
folder
yarn add --dev @usulpro/package-prepare
package-prepare
Example:
{
"scripts": {
"prepare": "package-prepare"
}
}
Additional options:
{
"scripts": {
"prepare": "package-prepare"
},
"packagePrepare": {
"src": "src"
},
}
Created with ❤︎ to Javascript by Oleg Proskurin [React Theming]