Skip to content

Commit

Permalink
feat(app generator): insert package.json default sections, even if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
cueedee committed Aug 4, 2016
1 parent 599f102 commit 44521ac
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions generators/app/templates/@package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name": "<%- authorName %>"<% if ( authorUrl ) { %>,
"url": "<%- authorUrl %>"<% } %>
},
"bugs": {},
"browser": {},
"browserify": {
"transform": [
Expand All @@ -16,10 +17,19 @@
"dependencies": {},
"description": "<%- packageDescription %>",
"devDependencies": {},
"files": [
"AUTHORS",
"LICENSE",
"README.md",
"dist"
],
"homepage": "",
"keywords": [],
"license": "BSD-3-Clause",
"main": "dist/app/bundle.js",
"name": "<%- packageName %>",
"private": true,
"repository": {},
"scripts": {
"prepublish": "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",
"release": "standard-version",
Expand Down

0 comments on commit 44521ac

Please sign in to comment.