diff --git a/js/package.json b/js/package.json index dca0e0e6d..e52a4650a 100644 --- a/js/package.json +++ b/js/package.json @@ -43,7 +43,7 @@ "test": "mocha 'src/**/*.spec.js'", "test:coverage": "istanbul cover _mocha -- 'src/**/*.spec.js'", "test:e2e": "mocha 'src/**/*.e2e.js'", - "test:npm": "node test/npmLibrary", + "test:npm": "(cd .npmjs && npm i) && node test/npmLibrary", "prepush": "npm run lint:cached" }, "devDependencies": {