Skip to content

Commit

Permalink
trim deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ckissane committed Apr 26, 2021
1 parent 5d6cdac commit 1727d86
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 4,890 deletions.
23 changes: 5 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,15 @@
"name": "fluid",
"version": "0.0.1",
"dependencies": {
"@babel/core": "^7.0.0-beta.35",
"@babel/preset-env": "^7.0.0-beta.35",
"dat.gui": "^0.7.7",
"regl": "^2.1.0",
"vex-dialog": "^1.0.7",
"vex-js": "^4.0.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^8.0.0-beta.0",
"babel-preset-env": "^1.6.1",
"css-loader": "^5.2.4",
"raw-loader": "^4.0.2",
"snowpack": "^3.0.13",
"snowpack-plugin-raw-file-loader": "^1.0.9",
"style-loader": "^2.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^5.35.1",
"webpack-dev-server": "^3.11.2"
"regl": "^2.1.0"
},
"scripts": {
"start": "snowpack dev",
"build": "snowpack build && touch build/.nojekyll"
},
"devDependencies": {
"snowpack": "^3.3.5",
"snowpack-plugin-raw-file-loader": "^1.0.9"
}
}
7 changes: 1 addition & 6 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
z-index: 10;
text-align: center;
}

.vex .vex-content {
background-color: rgba(28, 30, 35, 0.9) !important;
color: white !important;
width: 550px !important;
}


h1,
h2 {
Expand Down
12 changes: 0 additions & 12 deletions src/js/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import Regl from "regl";
import vex from "vex-js";
import * as dat from "dat.gui";

import "vex-js/dist/css/vex.css";
import "vex-js/dist/css/vex-theme-top.css";
vex.defaultOptions.className = "vex-theme-top";

var config = {
TEXTURE_DOWNSAMPLE: 1,
Expand Down Expand Up @@ -442,12 +438,4 @@ document.addEventListener("mousedown", () => {
window.addEventListener("mouseup", () => {
pointer.down = false;
});
// import vexDia from "vex-dialog";
// vex.registerPlugin(vexDia);
// window.dialogue = () => {
// vex.dialog.alert({
// unsafeMessage: `<h1 style="line-spacing:140%;">You can view the source code on <a href="http://github.com/cm-tech/musical-ink">Github</a></h1>
// <p>If the site is slow, try using <a href="https://www.google.com/chrome/">Google Chrome</a></p>`,
// });
// };
window.addEventListener("load", display);
Loading

0 comments on commit 1727d86

Please sign in to comment.