Skip to content

Commit fcdff28

Browse files
author
Artur Charaev
committed
prepublish script
1 parent 023c688 commit fcdff28

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"build": "babel src --out-dir lib",
88
"clean": "rimraf lib",
9+
"prepublish": "npm run clean && npm run build",
910
"test": "echo \"Error: no test specified\" && exit 1"
1011
},
1112
"keywords": [
@@ -26,5 +27,10 @@
2627
"babel-plugin-transform-object-rest-spread": "^6.20.2",
2728
"babel-preset-es2015": "^6.18.0",
2829
"rimraf": "^2.5.4"
29-
}
30+
},
31+
"files": [
32+
"README.md",
33+
"LICENSE.md",
34+
"lib"
35+
]
3036
}

0 commit comments

Comments
 (0)