From 7ca52fd5e1821a577066efb67e1a217b6f8eb5c2 Mon Sep 17 00:00:00 2001 From: jhe Date: Thu, 7 Jul 2016 16:12:27 +0100 Subject: [PATCH] fix(build): build minimized version --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4ec59f0..ba509bc 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "description": "Patten matching via extractor objects in JavaScript", "main": "./lib/match-js.min.js", "scripts": { - "build": "webpack --progress --colors --mode=dev", + "build": "webpack --progress --colors --mode=build", + "build:dev": "webpack --progress --colors --mode=dev", "commit": "git-cz", "dev": "webpack --progress --colors --watch --mode=dev", - "test:single": "npm run build && npm run test:single:es5 && npm run test:single:es6 && npm run test:single:coffee", + "test:single": "npm run build:dev && npm run test:single:es5 && npm run test:single:es6 && npm run test:single:coffee", "test:es5": "eslint ./test/*.spec.es5.js && mocha --colors --watch ./test/*.spec.es5.js", "test:es6": "mocha --compilers js:babel-core/register --colors --watch ./test/*.spec.es6.js", - "_test:coffee": "coffee --compile --output ./coffee-test/ ./test/*.spec.coffee && mocha --colors --watch ./coffee-test/*.spec.js", "test:coffee": "mocha --compilers coffee:coffee-script/register --colors --watch ./test/*.spec.coffee", "test:single:es5": "eslint ./test/*.spec.es5.js && mocha --colors ./test/*.spec.es5.js", "test:single:es6": "mocha --compilers js:babel-core/register --colors ./test/*.spec.es6.js",