Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 28c64d8

Browse files
committed
fix(npm): Fixed publishing
1 parent c694f3e commit 28c64d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"scripts": {
77
"build": "tsc",
8-
"test": "npm run build && node -r babel/register ./node_modules/.bin/tape 'tests/**/*-test.js' |tap-spec"
8+
"test": "npm run build && node -r babel/register ./node_modules/.bin/tape 'tests/**/*-test.js' |tap-spec",
9+
"prepublish": "not-in-install && npm run build || echo 'In install cycle, skipping prepublish'"
910
},
1011
"author": {
1112
"name": "Markus Wolf",
@@ -19,6 +20,7 @@
1920
"devDependencies": {
2021
"babel": "5.8.29",
2122
"cz-conventional-changelog": "1.1.4",
23+
"in-publish": "2.0.0",
2224
"react": "0.14.3",
2325
"tap-spec": "4.1.1",
2426
"tape": "4.2.2",

0 commit comments

Comments
 (0)