Navigation Menu

Skip to content

Commit

Permalink
Add prepublish script.
Browse files Browse the repository at this point in the history
  • Loading branch information
molefrog committed Nov 29, 2017
1 parent e71f907 commit ef9bf0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .gitignore
@@ -1,7 +1,6 @@

# Created by https://www.gitignore.io/api/sdf,node,osx

#!! ERROR: sdf is undefined. Use list command to see defined gitignore types !!#
# Transpiled sources
lib

### Node ###
# Logs
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -10,7 +10,8 @@
"scripts": {
"test": "jest",
"test-watch": "jest --watch",
"build": "babel src --out-dir lib"
"build": "babel src --out-dir lib",
"prepublish": "rm -rf lib && babel src --out-dir lib"
},
"standard": {
"globals": ["jest", "test", "expect", "it", "describe"]
Expand Down

0 comments on commit ef9bf0c

Please sign in to comment.