Cleaned up package.json, style and script watchers now one command

sql-version-freeze
Ro 6 years ago
parent ee82fcaa20
commit dc13a25bfb

@ -19,7 +19,6 @@ app.set('port', port);
/**
* Create HTTP server.
*/
var server = http.createServer(app);
/**

@ -12,8 +12,7 @@
"watch-front-scripts": "parcel watch themes/$npm_package_theme/src/com/Start.jsx --out-dir themes/$npm_package_theme/assets/js --out-file start.min.js --public-url /$npm_package_theme/assets/js",
"watch-front-styles": "stylus -w -m -o themes/$npm_package_theme/assets/css themes/$npm_package_theme/src/styles/base.styl",
"build-front-kit": "uglifyjs node_modules/scramble-text/dist/ScrambleText.min.js node_modules/animejs/anime.min.js node_modules/reframe.js/dist/reframe.min.js -c -o themes/$npm_package_theme/assets/js/toolkit.min.js",
"watch-back-scripts": "parcel watch themes/dash/src/com/Start.js --out-dir themes/dash/assets/js --out-file dash.min.js --public-url /dash/assets/js",
"watch-back-styles": "stylus -w -m -o themes/dash/assets/css themes/dash/src/styles/dash.styl",
"watch-back": "stylus -w -m -o themes/dash/assets/css themes/dash/src/styles/dash.styl & parcel watch themes/dash/src/com/Start.js --out-dir themes/dash/assets/js --out-file dash.min.js --public-url /dash/assets/js",
"build-back-kit": "uglifyjs themes/dash/src/libraries/highlight.pack.js node_modules/sortablejs/Sortable.min.js node_modules/scramble-text/dist/ScrambleText.min.js node_modules/animejs/anime.min.js node_modules/reframe.js/dist/reframe.min.js -c -o themes/dash/assets/js/dashkit.min.js"
},
"engines": {

@ -9020,7 +9020,7 @@ var parent = module.bundle.parent;
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
var hostname = "" || location.hostname;
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
var ws = new WebSocket(protocol + '://' + hostname + ':' + "55275" + '/');
var ws = new WebSocket(protocol + '://' + hostname + ':' + "54198" + '/');
ws.onmessage = function (event) {
var data = JSON.parse(event.data);

@ -1,5 +1,5 @@
$primary = #374857;
//$primary = #200317; deep purple
//$primary = #200317; deep sexy purple
$secondary = #b2cce5;
$tertiary = #f5ab35;
$highlight = #fc6399;

Loading…
Cancel
Save