Skip to content
This repository has been archived by the owner. It is now read-only.

Why use prepublish as an external script? #1

Closed
lucasmotta opened this issue Mar 5, 2016 · 2 comments
Closed

Why use prepublish as an external script? #1

lucasmotta opened this issue Mar 5, 2016 · 2 comments

Comments

@lucasmotta
Copy link

The script is only one line, so I don't really need to have one extra file just for that.
You could use directly on your package.json IMO:

{
   "prepublish": "babel --plugins 'transform-runtime' src --ignore __tests__ --out-dir ./dist"
}
@juliancwirko
Copy link
Owner

Yeah, maybe I should remove .sh file. Thanks for pointing it out.

@juliancwirko
Copy link
Owner

prepublish.sh removed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants