Skip to content

Commit 950e146

Browse files
committed
build(prepack): built before packing
1 parent d2470c3 commit 950e146

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"publishConfig": {
1010
"access": "public"
1111
},
12+
"files": ["dist/"],
1213
"repository": "travi-org/brand",
1314
"bugs": "https://github.com/travi-org/brand/issues",
1415
"homepage": "https://npm.im/@travi/brand",
@@ -22,6 +23,7 @@
2223
"lint:travis": "travis-lint .travis.yml",
2324
"lint:peer": "npm ls >/dev/null",
2425
"prebuild": "run-s clean",
26+
"prepack": "run-s build",
2527
"build": "npm-run-all --print-label --parallel build:*",
2628
"build:svg": "svgo -f img -o dist/img --disable removeViewBox"
2729
},

0 commit comments

Comments
 (0)