Skip to content

Commit 57a3dbc

Browse files
committed
🐛 Fix: run babel as prepublish
1 parent 3f5a2af commit 57a3dbc

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
lib
2+
.nyc_output
3+
coverage
4+
media
5+
test

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
{
22
"name": "semantic-git-commit-cli",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
5-
"main": "lib",
5+
"main": "dest",
66
"bin": {
77
"semantic-git-commit": "./dest/cli.js",
8-
"sgc": "./dest/cli.js"
8+
"sgc": "dest/cli.js"
99
},
1010
"scripts": {
11-
"pretest": "npm run lint & npm run babel",
11+
"pretest": "npm run lint",
1212
"test": "nyc ava",
1313
"lint": "eslint lib test",
14-
"prepublish": "npm test",
1514
"babel": "babel lib -d dest",
15+
"prepublish": "npm run babel",
1616
"coveralls": "nyc report --reporter=text-lcov | coveralls",
1717
"prepush": "npm test"
1818
},
19-
"files": [
20-
"lib"
21-
],
2219
"ava": {
2320
"require": "babel-register",
2421
"babel": "inherit"

0 commit comments

Comments
 (0)