Yurik has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/383047 )
Change subject: Add test web server to simplify debugging
......................................................................
Add test web server to simplify debugging
Allows "npm start" to locally debug the app
by starting a local server and opening the browser
Change-Id: Iad1dd0ceac44b2c7e64ca60a12c872b17985b673
---
M package.json
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/gui
refs/changes/47/383047/1
diff --git a/package.json b/package.json
index ae6b46a..a196ec4 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,7 @@
"license": "GPL-2.0+",
"version": "0.1.4",
"scripts": {
+ "start": "http-server -o",
"test": "grunt test",
"build": "grunt build",
"deploy": "grunt deploy"
@@ -63,6 +64,7 @@
"grunt-shell": "^2.1.0",
"grunt-stylelint": "^0.8.0",
"grunt-usemin": "^3.1.1",
+ "http-server": "^0.10.0",
"karma-qunit": "^1.2.1",
"load-grunt-tasks": "^3.5.2",
"qunitjs": "1.23.1",
--
To view, visit https://gerrit.wikimedia.org/r/383047
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad1dd0ceac44b2c7e64ca60a12c872b17985b673
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/gui
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits