-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.27 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"name": "dotbeautify",
"version": "1.0.0",
"description": "Runs jsbeautify against given directories",
"main": "index.js",
"directories": {
"lib": ".",
"test": "./test/"
},
"dependencies": {
"fs-extra": "0.10.0",
"lodash": "2.4.1",
"js-beautify": "1.5.1"
},
"devDependencies": {
"mocha": ""
},
"repository": {
"type": "git",
"url": "https://github.com/bearjaws/dotbeautify"
},
"keywords": [
"jsbeautify",
"auto jsbeautify",
"grunt jsbeautify"
],
"author": "Michael Barajas <mbarajas@dotdecimal.com>",
"license": "MIT License",
"scripts": {
"test": "mocha test/"
},
"readme": "dotbeautify, uses js-beautify on given directories to automatically formatcode USEAGE: var dotBeautify = require('dotbeautify'); dotBeautify.beautify(['./lib/']); If you want to use it as a pre commit hook and block any unbeautified code, simply add it to your git pre commit hook with the --pre-commit switch, this will throw an exception which will block the commit. All source code will be automatically beautified by js-beautify Also allows you to pass in second {options} object as defined by https://github.com/beautify-web/js-beautify#options"
}