From 21d52b4b50f7ad7a3a5ffb65ce2a4f8767398d50 Mon Sep 17 00:00:00 2001 From: Joe Fleming Date: Thu, 19 May 2016 14:47:57 -0700 Subject: [PATCH] add package script handy for packaging up the lib path on release tags --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6bf4daa..63f6c50 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "scripts": { "build": "rm -rf lib && babel src --out-dir lib", + "package": "git checkout -B package-lib && npm run build && git add -f lib && git commit -m 'package lib' && echo Use npm to tag and publish", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "prepublish": "in-publish && npm run test || not-in-publish", "test": "npm run build && npm run unit",