use in-publish to avoid stupid prepublish npm logic
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"test": "npm run build && npm run mocha",
|
||||
"mocha": "mocha --compilers js:babel-core/register test/src/**",
|
||||
"build": "babel src --out-dir lib",
|
||||
"prepublish": "npm run test"
|
||||
"prepublish": "in-publish && npm run test || not-in-publish"
|
||||
},
|
||||
"author": "",
|
||||
"license": "Apache-2.0",
|
||||
@@ -33,6 +33,7 @@
|
||||
"bluebird": "~3.3.5",
|
||||
"debug": "~2.2.0",
|
||||
"elasticsearch": "~11.0.1",
|
||||
"in-publish": "~2.0.0",
|
||||
"lodash": "~4.11.1",
|
||||
"moment": "~2.10.6",
|
||||
"puid": "~1.0.5"
|
||||
|
||||
Reference in New Issue
Block a user