test
echo "Error: no test specified" && exit 1
build
npm run build:cjs && npm run build:esm
build:cjs
NODE_ENV=production babel src --out-dir lib --presets=@babel/preset-react --plugins=@babel/plugin-transform-modules-commonjs
build:esm
NODE_ENV=production babel src --out-dir es --presets=@babel/preset-react
watch
concurrently " NODE_ENV=production babel --watch src --out-dir lib --presets=@babel/preset-react --plugins=@babel/plugin-transform-modules-commonjs" " NODE_ENV=production babel --watch src --out-dir es --presets=@babel/preset-react "