From de3eeb2d4751380a8317213931c02e5f0acad355 Mon Sep 17 00:00:00 2001 From: Craig Martin Date: Thu, 28 Jan 2016 13:08:14 -0500 Subject: [PATCH] Use npm pretest hook. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ef0513875..d24d0f73f 100644 --- a/package.json +++ b/package.json @@ -35,12 +35,13 @@ "build:main-modules": "node lib/main/build-modules.js", "doc": "node lib/doc/build github", "doc:site": "node lib/doc/build site", + "pretest": "npm run build", "style": "npm run style:main & npm run style:fp & npm run style:perf & npm run style:test", "style:fp": "jscs fp/*.js lib/**/*.js", "style:main": "jscs lodash.js", "style:perf": "jscs perf/*.js perf/**/*.js", "style:test": "jscs test/*.js test/**/*.js", - "test": "npm run build && npm run test:main && npm run test:fp", + "test": "npm run test:main && npm run test:fp", "test:fp": "node test/test-fp", "test:main": "node test/test" }