Skip to content

Commit 4d63ade

Browse files
authored
Merge pull request #2652 from angular-fullstack/feat/mongo-script
feat(package): add `start:mongo` convenience script
2 parents 9b6f9f7 + 101f567 commit 4d63ade

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: templates/app/_package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@
221221
"update-webdriver": "node node_modules/protractor/bin/webdriver-manager update",
222222
<%_ } else { -%>
223223
"update-webdriver": "node node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update",
224-
<%_ } -%>
224+
<%_ } -%><% if(filters.mongo) { %>
225+
"start:mongo": "docker run --rm -d -p 27017:27017 --name mongo mongo",<% } %>
225226
"start": "node server"
226227
},
227228
"private": true

0 commit comments

Comments
 (0)