generator-bat
Version:
BAT, the Backbone Application Template; a Yeoman generator collection created by marviq
69 lines (68 loc) • 2.04 kB
JSON
{
"author": {<% if ( authorEmail ) { %>
"email": "<%- authorEmail %>",<% } %>
"name": "<%- authorName %>"<% if ( authorUrl ) { %>,
"url": "<%- authorUrl %>"<% } %>
},
"browser": {<% if ( jqueryExpose ) { %>
"jquery-for-cdns-shim": "./vendor/jquery-for-cdns-shim.coffee"
<% } %>},
"browserify": {
"transform": [
"coffeeify",
"hbsfy",
"browserify-shim"
]
},
"browserify-shim": {<% if ( jqueryCdn ) { %>
"jquery": {
"exports": "global:jQuery"
}
<% } else if ( jqueryExpose ) { %>
"jquery-for-cdns-shim": {
"depends": [
"jquery:jQuery"
]
}
<% } %>},
"bugs": {},
"config": {
"dist": "dist/"
},
"dependencies": {},
"description": "<%- packageDescription %>",
"devDependencies": {},
"directories": {
"doc": "dist/doc"
},
"engines": {
"npm": ">=5"
},
"files": [
"AUTHORS",
"CHANGELOG.md",
"LICENSE",
"README.md",
"dist"
],
"homepage": "",
"keywords": [],
"license": "BSD-3-Clause",
"main": "dist/app/bundle.js",
"name": "<%- packageName %>",
"private": true,
"publishConfig": {},
"repository": {},
"scripts": {
"build": "command -v grunt > /dev/null || { echo >&2 'It appears that \"grunt\" is not installed. Consider running \"[sudo ]npm install -g grunt-cli\" first.'; exit ; } && grunt --no-color ${npm_config_debug+debug} ${npm_config_target+\"--target=${npm_config_target}\"}",
"doc": "grunt doc && { { sleep 3; \"${npm_config_browser}\" http://localhost:8080/dist/doc ; } & npx http-server ; }",
"dist": "true",
"prebuild": "rm -rf \"${npm_package_config_dist}\"",
"predist": "npm run build",
"prepublishOnly": "npm run dist",
"refresh": "set -x; npm prune && npm install && npm dedupe",
"release": "standard-version",
"test": "command -v grunt > /dev/null || { echo >&2 'It appears that \"grunt\" is not installed. Consider running \"[sudo ]npm install -g grunt-cli\" first.'; exit ; } && grunt test"
},
"version": "0.1.0"
}