-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
28 lines (28 loc) · 1.29 KB
/
package.json
File metadata and controls
28 lines (28 loc) · 1.29 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
{
"name": "fis-postprocessor-ypm",
"description": "A postprocessor plugin for ypm to wrap javascript with closure or amd define.",
"version": "0.1.0",
"author": {
"name": "Kaven",
"email": "kaven_db@163.com"
},
"keywords": [
"ypm"
],
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/kaven85/fis-postprocessor-ypm/"
},
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "mocha test/ut --recursive"
},
"readme": "# fis-postprocessor-ypm\n\nA postprocessor plugin for ypm to wrap javascript with closure or amd define.\n\n\n\n## settings\n\n $ vi path/to/project/fis-conf.js\n\n```javascript\nfis.config.merge({\n settings : {\n postprocessor : {\n jswrapper : {\n //wrap type. if omitted, it will wrap js file with '(function(){...})();'.\n type : 'amd',\n //you can use template also, ${content} means the file content\n //template : '!function(){${content}}();',\n //wrap all js file, default is false, wrap modular js file only.\n wrapAll : true\n }\n }\n }\n});\n```",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/kaven85/fis-postprocessor-ypm/issues"
}
}