azu / technical-word-rules

JavaScript中心のIT技術用語のLint用辞書
MIT License
30 stars 5 forks source link

Add prepublish in pakcage.json #15

Closed sotayamashita closed 8 years ago

sotayamashita commented 8 years ago

Before publishing, we should run npm run build and there is some possibility of forgetting to do it. I have added prepublish script to build all.json. what do you think ?

azu commented 8 years ago

Currently, Travis CI does npm run build in the step and npm publish.

But, I think it is a good idea adding prepublish to package.json.