justo-generator-node
Version:
Generator for Node.js.
70 lines (69 loc) • 1.57 kB
JSON
{
"name": "{{scope.name}}",
"version": "0.1.0",
"description": "{{scope.desc}}",
"homepage": "{{http scope.homepage}}",
"author": {
"name": "{{scope.author}}",
"email": "{{scope.authorEmail}}",
"url": "{{http scope.authorUrl}}"
},
"contributors": [
{
"name": "{{scope.contributor}}",
"email": "{{scope.contributorEmail}}",
"url": "{{scope.contributorUrl}}"
}
],
"keywords": [],
"bugs": {
"url": "{{http scope.bugsUrl}}",
"email": "{{scope.bugsEmail}}"
},
"repository": {
"type": "git",
"url": "{{scope.gitUrl}}"
},
"engines": {
"node": ">= 7.0.0",
"npm": ">= 3.0.0"
},
"dependencies": {},
"devDependencies": {
"babel-preset-es2015": "*",
{{#if (in scope.jsSpec "ES2016" "ES2017")}}
"babel-preset-es2016": "*",
{{/if}}
{{#if (eq scope.jsSpec "ES2017")}}
"babel-preset-es2017": "*",
{{/if}}
"justo": "*",
"justo-assert": "*",
"justo-plugin-babel": "*",
{{#if (eq scope.linter "ESLint")}}
"justo-plugin-eslint": "*",
{{/if}}
"justo-plugin-fs": "*",
{{#if (eq scope.linter "JSHint")}}
"justo-plugin-jshint": "*",
{{/if}}
"justo-plugin-jsonlint": "*",
"justo-plugin-npm": "*"
},
"preferGlobal": {{#if (eq scope.type "app")}}true{{else}}false{{/if}},
"main": "index.js",
{{#if scope.bin}}
"bin": {
"{{scope.bin}}": "bin/{{scope.bin}}.js"
},
{{/if}}
"files": [
{{#if (eq scope.type "app")}}
"bin/",
{{/if}}
"lib/"
],
"scripts": {
"test": "justo test"
}
}