Changeset - bd0c83b063df
[Not reviewed]
default
0 3 0
Drew Perttula - 7 years ago 2018-05-04 07:58:13
drewp@bigasterisk.com
bower, polymer, coffee updates
Ignore-this: 39b3c5edc1ea34c1f138c538341269f
3 files changed with 10 insertions and 4 deletions:
0 comments (0 inline, 0 general)
light9/web/lib/bower.json
Show inline comments
 
@@ -22,9 +22,14 @@
 
    "paper-slider": "PolymerElements/paper-slider#~2.0.6",
 
    "paper-styles": "PolymerElements/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"
 
    "underscore": "~1.8.3",
 
    "polymer": "Polymer/polymer#^2.0.0"
 
  },
 
  "resolutions": {
 
    "webcomponentsjs": "^v1.1.0",
 
    "polymer": "^2.0.0"
 
  }
 
}
makefile
Show inline comments
 
@@ -72,13 +72,13 @@ env-mypy/bin/mypy:
 
	virtualenv -p /usr/bin/python3  env-mypy/
 
	env-mypy/bin/pip install mypy==0.590 lxml==4.2.1
 

	
 
### build ###
 

	
 
coffee:
 
	zsh -c 'coffee --map -cw light9/web/{.,live,timeline,paint,effects}/*.coffee'
 
	zsh -c 'cd light9/web; ../../node_modules/coffeescript/bin/coffee --map -cw {.,live,timeline,paint,effects}/*.coffee'
 

	
 
mypy-collector: env-mypy/bin/mypy
 
	env-mypy/bin/mypy --py2 --ignore-missing-imports --strict-optional --custom-typeshed-dir stubs --html-report /tmp/rep bin/collector light9/collector/*.py
 

	
 
mypy-paint: env-mypy/bin/mypy
 
	env-mypy/bin/mypy --py2 --ignore-missing-imports --strict-optional --custom-typeshed-dir stubs --html-report /tmp/rep light9/paint/*.py
 
@@ -123,12 +123,12 @@ tests_coverage:
 
	eval env/bin/nosetests --with-coverage --cover-erase --cover-html --cover-html-dir=/tmp/light9-cov/  --cover-package=light9 --cover-branches $(NOSEARGS)
 

	
 
test_js_init:
 
	npm install
 

	
 
test_js:
 
	coffee -c light9/web/*.coffee
 
	node_modules/coffeescript/bin/coffee -c light9/web/*.coffee
 
	node_modules/mocha/bin/mocha --compilers coffee:coffee-script/register --globals window,N3 light9/web/graph_test.coffee
 

	
 
test_js_watch:
 
	# have coffee continuously running
 
	watch -c node_modules/mocha/bin/mocha --compilers coffee:coffee-script/register --globals window,N3 light9/web/graph_test.coffee --colors
package.json
Show inline comments
 
@@ -8,15 +8,16 @@
 
  "directories": {
 
    "test": "test"
 
  },
 
  "dependencies": {
 
    "@webcomponents/shadycss": "^1.1.3",
 
    "@webcomponents/webcomponentsjs": "^1.2.0",
 
    "bower": "^1.8.0",
 
    "bower": "^1.8.4",
 
    "browserify": "^16.2.0",
 
    "chai": "^3.5.0",
 
    "coffeescript": "^2.3.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)