From 99a6a8110b2cc9f5e1894e22e46faff4a370a3be Mon Sep 17 00:00:00 2001 From: calamari Date: Fri, 5 Apr 2019 18:14:13 +0200 Subject: [PATCH] Create publishables on prepublish hook --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d2945e8..0c24ee7 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "clean": "rimraf dist", "dev": "rollup -c -w", "dist": "rollup -c && cpy --rename stack-trace-parser.d.ts src/index.d.ts dist/ && cpy --rename stack-trace-parser.test-d.ts src/index.test-d.ts dist/", + "prepublish": "npm run dist", "pretest": "npm run dist", "test": "mocha --require ./mocha-babel-hook 'test/**/*.spec.js' && tsd", "lint": "eslint --fix '{src,test}/**/*.js'"