add demo application (benchmark)

This commit is contained in:
Géry Debongnie
2019-03-18 11:35:03 +01:00
parent 050025a922
commit cf289323c8
10 changed files with 175 additions and 5 deletions
+6 -1
View File
@@ -16,7 +16,12 @@
"example:web:minify": "uglifyjs dist/examples/web/main.js -o dist/examples/web/main.js --compress --mangle",
"example:web:serve": "live-server --entry-file=index.html dist/examples/web/",
"preexample:web:dev": "npm run example:web:build",
"example:web:dev": "npm-run-all --parallel \"example:web:build:* -- --watch\" example:web:serve"
"example:web:dev": "npm-run-all --parallel \"example:web:build:* -- --watch\" example:web:serve",
"example:demo:build:core": "npm run build && cpx \"dist/core.js\" dist/examples/demo",
"example:demo:build:js": "cpx \"examples/demo/{*.html,*.js,*.css}\" dist/examples/demo",
"example:demo:build": "npm-run-all --parallel example:demo:build:*",
"example:demo:serve": "live-server --entry-file=index.html dist/examples/demo/",
"example:demo:dev": "npm-run-all --parallel \"example:demo:build:* -- --watch\" example:demo:serve"
},
"repository": {
"type": "git",