mirror of
https://github.com/gchq/CyberChef
synced 2025-01-12 20:48:49 +00:00
Updated the dev server to work on external interfaces
This commit is contained in:
parent
c60ec7c170
commit
e61e3bcf9b
2 changed files with 25 additions and 20 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const webpack = require("webpack");
|
const webpack = require("webpack");
|
||||||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||||
const NodeExternals = require("webpack-node-externals");
|
const NodeExternals = require("webpack-node-externals");
|
||||||
|
@ -309,7 +311,10 @@ module.exports = function (grunt) {
|
||||||
"webpack-dev-server": {
|
"webpack-dev-server": {
|
||||||
options: {
|
options: {
|
||||||
webpack: webpackConfig,
|
webpack: webpackConfig,
|
||||||
|
host: "0.0.0.0",
|
||||||
|
disableHostCheck: true,
|
||||||
overlay: true,
|
overlay: true,
|
||||||
|
inline: false,
|
||||||
clientLogLevel: "error",
|
clientLogLevel: "error",
|
||||||
stats: {
|
stats: {
|
||||||
children: false,
|
children: false,
|
||||||
|
|
40
package-lock.json
generated
40
package-lock.json
generated
|
@ -4,15 +4,6 @@
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"HTML_CodeSniffer": {
|
|
||||||
"version": "github:squizlabs/HTML_CodeSniffer#d209ce54876657858a8a01528ad812cd234f37f0",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"JSONSelect": {
|
|
||||||
"version": "0.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/JSONSelect/-/JSONSelect-0.4.0.tgz",
|
|
||||||
"integrity": "sha1-oI7cxn6z/L6Z7WMIVTRKDPKCu40="
|
|
||||||
},
|
|
||||||
"abab": {
|
"abab": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/abab/-/abab-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/abab/-/abab-1.0.3.tgz",
|
||||||
|
@ -41,12 +32,12 @@
|
||||||
"integrity": "sha1-IJ4W63DAlaA79/yCnsrLfHeS9e4=",
|
"integrity": "sha1-IJ4W63DAlaA79/yCnsrLfHeS9e4=",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"HTML_CodeSniffer": "github:squizlabs/HTML_CodeSniffer#d209ce54876657858a8a01528ad812cd234f37f0",
|
|
||||||
"axios": "0.9.1",
|
"axios": "0.9.1",
|
||||||
"bluebird": "3.5.0",
|
"bluebird": "3.5.0",
|
||||||
"chalk": "1.1.3",
|
"chalk": "1.1.3",
|
||||||
"commander": "2.11.0",
|
"commander": "2.11.0",
|
||||||
"glob": "7.1.2",
|
"glob": "7.1.2",
|
||||||
|
"HTML_CodeSniffer": "github:squizlabs/HTML_CodeSniffer#d209ce54876657858a8a01528ad812cd234f37f0",
|
||||||
"jsdom": "9.12.0",
|
"jsdom": "9.12.0",
|
||||||
"mkdirp": "0.5.1",
|
"mkdirp": "0.5.1",
|
||||||
"phantomjs-prebuilt": "2.1.15",
|
"phantomjs-prebuilt": "2.1.15",
|
||||||
|
@ -3873,6 +3864,10 @@
|
||||||
"wbuf": "1.7.2"
|
"wbuf": "1.7.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"HTML_CodeSniffer": {
|
||||||
|
"version": "github:squizlabs/HTML_CodeSniffer#d209ce54876657858a8a01528ad812cd234f37f0",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"html-comment-regex": {
|
"html-comment-regex": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz",
|
||||||
|
@ -4610,12 +4605,12 @@
|
||||||
"resolved": "https://registry.npmjs.org/jison/-/jison-0.4.13.tgz",
|
"resolved": "https://registry.npmjs.org/jison/-/jison-0.4.13.tgz",
|
||||||
"integrity": "sha1-kEFwfWIkE2f1iDRTK58ZwsNvrHg=",
|
"integrity": "sha1-kEFwfWIkE2f1iDRTK58ZwsNvrHg=",
|
||||||
"requires": {
|
"requires": {
|
||||||
"JSONSelect": "0.4.0",
|
|
||||||
"cjson": "0.2.1",
|
"cjson": "0.2.1",
|
||||||
"ebnf-parser": "0.1.10",
|
"ebnf-parser": "0.1.10",
|
||||||
"escodegen": "0.0.21",
|
"escodegen": "0.0.21",
|
||||||
"esprima": "1.0.4",
|
"esprima": "1.0.4",
|
||||||
"jison-lex": "0.2.1",
|
"jison-lex": "0.2.1",
|
||||||
|
"JSONSelect": "0.4.0",
|
||||||
"lex-parser": "0.1.4",
|
"lex-parser": "0.1.4",
|
||||||
"nomnom": "1.5.2"
|
"nomnom": "1.5.2"
|
||||||
},
|
},
|
||||||
|
@ -4883,6 +4878,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"JSONSelect": {
|
||||||
|
"version": "0.4.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/JSONSelect/-/JSONSelect-0.4.0.tgz",
|
||||||
|
"integrity": "sha1-oI7cxn6z/L6Z7WMIVTRKDPKCu40="
|
||||||
|
},
|
||||||
"jsprim": {
|
"jsprim": {
|
||||||
"version": "1.4.1",
|
"version": "1.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
|
||||||
|
@ -7829,6 +7829,15 @@
|
||||||
"integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",
|
"integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"string_decoder": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "5.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"string-width": {
|
"string-width": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
|
||||||
|
@ -7856,15 +7865,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"string_decoder": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "5.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stringstream": {
|
"stringstream": {
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
||||||
|
|
Loading…
Reference in a new issue