From f87af6c642cae9e63123d0c4d5c119f04f7e882b Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 26 Jan 2016 08:40:51 -0800 Subject: [PATCH] Add more npm run-scripts. --- package.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 8ee018003..2cc95c163 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,17 @@ "webpack": "^1.12.12" }, "scripts": { - "build": "node lib/main/build-dist.js && node lib/fp/build-dist.js", - "build-fp": "node lib/fp/build-modules.js", - "style": "jscs lodash.js lib/**/*.js", - "test": "npm run build && node test/test && node test/test-fp" + "build": "npm run build:main && npm run build:fp", + "build:fp": "node lib/fp/build-dist.js", + "build:fp-modules": "node lib/fp/build-modules.js", + "build:main": "node lib/main/build-dist.js", + "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:fp": "node test/test-fp", + "test:main": "node test/test" } }