From 8c630ede7e197f4cf39527977a8dc17d76de8d78 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 19 Apr 2016 23:07:06 -0700 Subject: [PATCH] Cleanup package.json. --- package.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 9539fa9d8..8a67e677a 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,26 @@ "license": "MIT", "private": true, "main": "lodash.js", + "scripts": { + "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", + "build:main-modules": "node lib/main/build-modules.js", + "doc": "node lib/main/build-doc github", + "doc:fp": "node lib/fp/build-doc", + "doc:site": "node lib/main/build-doc 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 test:main && npm run test:fp", + "test:fp": "node test/test-fp", + "test:main": "node test/test", + "validate": "npm run style && npm run test" + }, "devDependencies": { "async": "^1.5.2", "benchmark": "^2.1.0", @@ -28,25 +48,5 @@ "sauce-tunnel": "^2.4.0", "uglify-js": "2.6.2", "webpack": "^1.12.15" - }, - "scripts": { - "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", - "build:main-modules": "node lib/main/build-modules.js", - "doc": "node lib/main/build-doc github", - "doc:fp": "node lib/fp/build-doc", - "doc:site": "node lib/main/build-doc 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 test:main && npm run test:fp", - "test:fp": "node test/test-fp", - "test:main": "node test/test", - "validate": "npm run style && npm run test" } }