Changeset - e30493d458f9
[Not reviewed]
default
0 13 0
drewp@bigasterisk.com - 7 years ago 2018-04-30 06:37:19
drewp@bigasterisk.com
more npm setup. n3 upgraded but code is not, yet
Ignore-this: f2c1fdfef218cedc322e03d3784d1123
13 files changed with 58 insertions and 63 deletions:
0 comments (0 inline, 0 general)
bin/homepage
Show inline comments
 
@@ -21,6 +21,7 @@ http {
 
 
 
 server {
 
  access_log off;
 
  autoindex on;
 

	
 
  include "/tmp/light9_nginx_routes.conf";
 

	
 
@@ -28,6 +29,10 @@ http {
 
    root $ROOT/light9/web;
 
  }
 

	
 
  location /node_modules {
 
    root $ROOT/;
 
  }
 

	
 
 }
 
}
 
EOF
light9/web/edit-choice-demo.html
Show inline comments
 
@@ -6,7 +6,7 @@
 
    <script src="/lib/webcomponentsjs/webcomponents-hi-sd-ce.js"></script>
 
    <link rel="import" href="rdfdb-synced-graph.html">
 
    <link rel="import" href="edit-choice.html">
 
    <script src="/lib/N3.js-pull61/browser/n3-browser.js"></script>
 
    <script src="/node_modules/n3/n3-browser.js"></script>
 
      <script src="/lib/knockout/dist/knockout.js"></script>
 
      <script src="/lib/shortcut/index.js"></script>
 
      <script src="/lib/async/dist/async.js"></script>
light9/web/effects/index.html
Show inline comments
 
@@ -7,7 +7,7 @@
 
    <script src="/lib/webcomponentsjs/webcomponents-lite.min.js"></script>
 
    <link rel="import" href="/lib/polymer/polymer.html">
 
    <link rel="import" href="/lib/iron-ajax/iron-ajax.html">
 
    <script src="/lib/N3.js-pull61/browser/n3-browser.js"></script>
 
    <script src="/node_modules/n3/n3-browser.js"></script>
 
    <script src="/lib/async/dist/async.js"></script>
 
    <script src="/lib/underscore/underscore-min.js"></script>
 
    <link rel="import" href="/rdfdb-synced-graph.html">
light9/web/graph.coffee
Show inline comments
 
@@ -6,8 +6,8 @@ log = console.log
 
# for mocha
 
if require?
 
  `window = {}`
 
  `N3 = require('./lib/N3.js-pull61/N3.js')`
 
  `d3 = require('./lib/d3/build/d3.min.js')`
 
  `N3 = require('../../node_modules/n3/n3-browser.js')`
 
  `d3 = require('../../node_modules/d3/dist/d3.min.js')`
 
  `RdfDbClient = require('./rdfdbclient.js').RdfDbClient`
 
  module.exports = window
 

	
light9/web/index.html
Show inline comments
 
@@ -3,14 +3,17 @@
 
  <head>
 
    <title>light9 home</title>
 
    <meta charset="utf-8" />
 
    <script src="/lib/webcomponentsjs/webcomponents-lite.min.js"></script>
 
    <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script>
 
    <link rel="stylesheet" href="/style.css">
 
    <link rel="import" href="/lib/polymer/polymer.html">
 
    <link rel="import" href="/node_modules/@polymer/polymer/polymer.html">
 
  </head>
 
  <body>
 
    <dom-module id="service-button-row">
 
      <template>
 
        <style>
 
         a {
 
             color: #7d7dec;
 
         }
 
         div {
 
             display: flex;
 
             justify-content: space-between;
light9/web/lib/bower.json
Show inline comments
 
{
 
  "name": "3rd-party libs",
 
  "name": "3rd-party-libs",
 
  "dependencies": {
 
    "polymer": "2.6.0",
 
    "paper-slider": "PolymerElements/paper-slider#~2.0.6",
 
    "iron-ajax": "PolymerElements/iron-ajax#~2.1.3",
 
    "jquery": "^3.3.1",
 
    "underscore": "~1.8.3",
 
    "jquery-ui": "~1.11.4",
 
    "N3.js": "https://github.com/RubenVerborgh/N3.js.git#04f4e21f4ccb351587dc00a3f26340b28d4bb10f",
 
    "QueryString": "http://unixpapa.com/js/QueryString.js",
 
    "async": "https://github.com/caolan/async.git#^1.5.2",
 
    "color": "https://github.com/One-com/one-color.git#^3.0.4",
 
    "iron-ajax": "PolymerElements/iron-ajax#~2.1.3",
 
    "iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^2.1.0",
 
    "isotope": "^3.0.4",
 
    "isotope-fit-columns": "^1.1.3",
 
    "jquery": "^3.3.1",
 
    "jquery-ui": "~1.11.4",
 
    "jquery.columnizer": "https://github.com/adamwulf/Columnizer-jQuery-Plugin.git#^1.6.2",
 
    "knockout": "knockoutjs#^3.4.2",
 
    "sylvester": "~0.1.3",
 
    "d3": "https://github.com/d3/d3.git#e7194db33090a0afc06c77a959594361ffb949df",
 
    "rdflib.js": "https://github.com/linkeddata/rdflib.js.git#920e59fe37",
 
    "rdfstore": "https://github.com/antoniogarrote/rdfstore-js.git#b3f7c0c9c1da9b26261af0d4858722fa982411bb",
 
    "N3.js": "https://github.com/RubenVerborgh/N3.js.git#04f4e21f4ccb351587dc00a3f26340b28d4bb10f",
 
    "shortcut": "http://www.openjs.com/scripts/events/keyboard_shortcuts/shortcut.js",
 
    "async": "https://github.com/caolan/async.git#^1.5.2",
 
    "iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^2.1.0",
 
    "paper-radio-button": "PolymerElements/paper-radio-button#^2.1.0",
 
    "paper-button": "PolymerElements/paper-button#^2.1.0",
 
    "paper-dialog": "PolymerElements/paper-dialog#^2.1.0",
 
    "paper-item": "PolymerElements/paper-item#2.1.0",
 
    "paper-listbox": "PolymerElements/paper-listbox#2.1.0",
 
    "paper-radio-button": "PolymerElements/paper-radio-button#^2.1.0",
 
    "paper-radio-group": "PolymerElements/paper-radio-group#^2.1.0",
 
    "color": "https://github.com/One-com/one-color.git#^3.0.4",
 
    "paper-listbox": "PolymerElements/paper-listbox#2.1.0",
 
    "paper-item": "PolymerElements/paper-item#2.1.0",
 
    "paper-slider": "PolymerElements/paper-slider#~2.0.6",
 
    "paper-styles": "PolymerElements/paper-styles#^2.1.0",
 
    "isotope": "^3.0.4",
 
    "isotope-fit-columns": "^1.1.3",
 
    "jquery.columnizer": "https://github.com/adamwulf/Columnizer-jQuery-Plugin.git#^1.6.2"
 
  },
 
  "resolutions": {
 
    "rdflib.js": "920e59fe37",
 
    "d3": "e7194db33090a0afc06c77a959594361ffb949df",
 
    "jquery": "^3.2.1",
 
    "webcomponentsjs": "^v1.1.0",
 
    "paper-radio-button": "^2.1.0",
 
    "iron-resizable-behavior": "^2.1.0",
 
    "polymer": "2.6.0",
 
    "paper-slider": "~2.0.6",
 
    "iron-ajax": "~2.1.3",
 
    "paper-styles": "^2.1.0"
 
    "rdflib.js": "https://github.com/linkeddata/rdflib.js.git#920e59fe37",
 
    "rdfstore": "https://github.com/antoniogarrote/rdfstore-js.git#b3f7c0c9c1da9b26261af0d4858722fa982411bb",
 
    "shortcut": "http://www.openjs.com/scripts/events/keyboard_shortcuts/shortcut.js",
 
    "sylvester": "~0.1.3",
 
    "underscore": "~1.8.3"
 
  }
 
}
light9/web/live/index.html
Show inline comments
 
@@ -13,7 +13,7 @@
 
    <link rel="import" href="../light9-collector-client.html">
 

	
 
    <script src="/lib/d3/build/d3.min.js"></script>
 
    <script src="/lib/N3.js-pull61/browser/n3-browser.js"></script>
 
    <script src="/node_modules/n3/n3-browser.js"></script>
 
    <script src="/lib/async/dist/async.js"></script>
 
    <script src="/lib/underscore/underscore-min.js"></script>
 
    <!-- see live.coffee
 
@@ -163,7 +163,7 @@
 
        </template>
 

	
 
      </template>
 
     
 
      
 
    </dom-module>
 

	
 
    <dom-module id="light9-live-device-control">
 
@@ -243,7 +243,7 @@
 
         }
 
         light9-live-device-control {
 

	
 
             }
 
         }
 
        </style>
 
        <rdfdb-synced-graph graph="{{graph}}"></rdfdb-synced-graph>
 

	
light9/web/paint/paint-elements.html
Show inline comments
 
@@ -89,7 +89,7 @@
 
      </svg>
 
    </div>
 
  </template>
 
 
 
  
 
</dom-module>
 

	
 
<dom-module id="light9-paint">
 
@@ -108,7 +108,7 @@
 
  </template>
 
</dom-module>
 

	
 
<script src="/lib/N3.js-pull61/browser/n3-browser.js"></script>
 
<script src="/node_modules/n3/n3-browser.js"></script>
 
<script src="/lib/shortcut/index.js"></script>
 
<script src="/lib/underscore/underscore-min.js"></script>
 
<script src="/lib/async/dist/async.js"></script>
light9/web/rdfdbclient.coffee
Show inline comments
 
@@ -3,7 +3,7 @@ log = console.log
 
# for mocha
 
if require?
 
  `window = {}`
 
  `N3 = require('./lib/N3.js-pull61/N3.js')`
 
  `N3 = require('../../node_modules/n3/n3-browser.js')`
 
  module.exports = window
 

	
 

	
light9/web/timeline/index.html
Show inline comments
 
@@ -3,7 +3,7 @@
 
  <head>
 
    <title>timeline</title>
 
    <meta charset="utf-8" />
 
    <script src="/lib/webcomponentsjs/webcomponents-lite.min.js"></script>
 
    <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script>
 
    <link rel="import" href="timeline-elements.html">
 
  </head>
 
  <body>
light9/web/timeline/timeline-elements.html
Show inline comments
 
@@ -76,7 +76,7 @@
 
      <light9-cursor-canvas id="cursorCanvas"></light9-cursor-canvas>
 
    </div>
 
  </template>
 
 
 
  
 
</dom-module>
 

	
 
<!-- the whole section that pans/zooms in time (most of the editor) -->
 
@@ -273,19 +273,15 @@
 
  </template>
 
</dom-module>
 

	
 
<script src="/lib/sylvester/sylvester.js"></script>
 
<script src="/lib/d3/build/d3.min.js"></script>
 

	
 
<!-- version with https://github.com/RubenVerborgh/N3.js/pull/61 -->
 
<script src="/lib/N3.js-pull61/browser/n3-browser.js"></script>
 
<!-- master version -->
 
<xxscript src="/lib/N3.js/browser/n3-browser.js"></script>
 
  
 
<script src="/lib/async/dist/async.js"></script>
 
<script src="/lib/knockout/dist/knockout.js"></script>
 
<script src="/lib/shortcut/index.js"></script>
 
<script src="/lib/async/dist/async.js"></script>
 
<script src="/lib/sylvester/sylvester.js"></script>
 
<script src="/lib/underscore/underscore-min.js"></script>
 
<script src="/lib/pixi.js/dist/pixi.min.js"></script>
 
<script src="/node_modules/d3/dist/d3.min.js"></script>
 
<script src="/node_modules/n3/n3-browser.js"></script> 
 
<script src="/node_modules/pixi.js/dist/pixi.min.js"></script>
 

	
 
<script src="adjustable.js"></script>
 
<script src="drawing.js"></script>
 
<script src="timeline.js"></script>
makefile
Show inline comments
 
@@ -51,12 +51,10 @@ bin/node:
 

	
 
bower: node_modules/bower/bin/bower bin/node
 
	cd light9/web/lib; nodejs ../../../node_modules/bower/bin/bower install
 
	# pixi is fetched with npm
 
	ln -s ../../../node_modules/pixi.js light9/web/lib/
 

	
 
	cd light9/web/lib/N3.js; npm install; PATH=../../../../bin:$(PATH) npm run browser
 

	
 
	cd light9/web/lib/d3; PATH=../../../../bin:$(PATH) npm install
 
npm:
 
	npm install
 
	cd node_modules/n3; nodejs ../browserify/bin/cmd.js --standalone N3 --require n3 -o n3-browser.js
 

	
 
bin/ascoltami2: gst_packages link_to_sys_packages
 

	
package.json
Show inline comments
 
{
 
  "name": "light9",
 
  "version": "1.0.0",
 
  "repository": "...",
 
  "license": "MIT",
 
  "description": "Mini instructions:",
 
  "main": "index.js",
 
  "directories": {
 
    "test": "test"
 
  },
 
  "dependencies": {
 
    "@webcomponents/shadycss": "^1.1.3",
 
    "@webcomponents/webcomponentsjs": "^1.2.0",
 
    "bower": "^1.8.0",
 
    "browserify": "^16.2.0",
 
    "chai": "^3.5.0",
 
    "d3": "^5.1.0",
 
    "mocha": "^2.5.3",
 
    "n3": "^1.0.0-alpha",
 
    "pixi.js": "^4.7.3"
 
  },
 
  "devDependencies": {
0 comments (0 inline, 0 general)