Add an express server which serves the package's contents.
Add an express server which serve's the package's contents in a manner similar to unpkg: - The '/' route serves the package's entry point script - Other routes serve files from the package This can be used together with the CLIENT_URL setting in the Hypothesis service to configure the service to serve the local development version of the client instead of the production version.
Showing
This diff is collapsed.
... | ... | @@ -43,6 +43,7 @@ |
"eslint": "^3.0.1", | ||
"eslint-config-hypothesis": "^1.0.0", | ||
"exorcist": "^0.4.0", | ||
"express": "^4.14.1", | ||
"extend": "^2.0.0", | ||
"gulp": "^3.9.1", | ||
"gulp-batch": "^1.0.5", | ||
... | ... |
Please register or sign in to comment