diff --git a/lib/package.json b/lib/package.json index 3885741ce..abefbf328 100644 --- a/lib/package.json +++ b/lib/package.json @@ -49,7 +49,7 @@ "build:bundle": "cross-env NODE_ENV=production rollup --config", "build:es2015": "cross-env NODE_ENV=production babel ./src --out-dir ./build/src", "build": "npm run build:bundle && npm run build:es2015 && npm run build:copy", - "prepublish": "npm run test && npm run lint && npm run build", + "prepublish": "cd .. && npm run test && npm run lint && npm run build && cd -", "webpack": "webpack", "lint": "eslint ./src/**/*.js*" },