generator-wechat-bot
Version:
A Yeoman generator for wechat bot
52 lines (49 loc) • 1.16 kB
JSON
{
"name": "<%= moduleName %>",
"version": "0.0.1",
"description": "<%= dequote(moduleDesc) %>",
"main": "index.js",
"scripts": {
"test": "<%
if (useGrunt) {
print('node_modules/.bin/grunt ci');
} else {
print('node_modules/.bin/mocha');
}
%>"
},
"repository": {
"type": "git",
"url": "https://github.com/<%= githubName %>/<%= moduleName %>"
},
"keywords": <%= JSON.stringify(keywords) %>,
"author": "<%= dequote(author) %>",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/<%= githubName %>/<%= moduleName %>/issues"
},
"dependencies": {},
"devDependencies": {
<%
switch (assertionLibrary) {
case 'expect.js':
print(' "expect.js": "~0.2.0",');
break;
case 'chai':
print(' "chai": "~1.8.1",');
break;
default:
break;
}
%><% if (useGrunt) { %>
"grunt-contrib-jshint": "~0.6.4",
"grunt-contrib-watch": "~0.5.3",
"grunt": "~0.4.1",
"grunt-mocha-cli": "~1.1.0",
"grunt-complexity": "~0.1.3",
"grunt-cli": "~0.1.9"
<% } else { %>
"mocha": "~1.17.0"
<% } %>
}
}