mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Add more npm run-scripts.
This commit is contained in:
16
package.json
16
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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user