From 3a17dda4293ccc25e402fd4a7665a70b57d659de Mon Sep 17 00:00:00 2001 From: Laura Carvajal Date: Tue, 13 Sep 2016 14:46:29 +0100 Subject: [PATCH] prepublish (#11) --- Makefile | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 8725ffd..db28a75 100644 --- a/Makefile +++ b/Makefile @@ -24,3 +24,7 @@ build: $(shell find src -type f) @echo "Building…" @rm -rf build @babel -d build src + +npm-publish: + npm-prepublish --verbose + npm publish --access public \ No newline at end of file diff --git a/package.json b/package.json index f5ec8c8..5d8a875 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "license": "MIT", "devDependencies": { + "npm-prepublish": "^1.2.1", "babel-cli": "^6.5.1", "babel-plugin-transform-object-assign": "^6.5.0", "babel-preset-es2015": "^6.5.0",