From 9b31859eeda9cb6a5be5da02543c3c4de901a19d Mon Sep 17 00:00:00 2001 From: Joe Fleming Date: Tue, 3 May 2016 16:12:50 -0700 Subject: [PATCH] alphabetize npm scripts, clean lib on build --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2046009..5c54c03 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,11 @@ "description": "", "main": "lib/index.js", "scripts": { - "test": "npm run build && npm run unit", - "unit": "nyc --require babel-core/register mocha test/src/**", + "build": "rm -rf lib && babel src --out-dir lib", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", - "build": "babel src --out-dir lib", - "prepublish": "in-publish && npm run test || not-in-publish" + "prepublish": "in-publish && npm run test || not-in-publish", + "test": "npm run build && npm run unit", + "unit": "nyc --require babel-core/register mocha test/src/**" }, "author": "", "license": "Apache-2.0",