package.json 811 Bytes
Newer Older
Alexander Bazo committed
1 2 3 4 5 6 7
{
  "name": "gazeclient",
  "version": "1.0.0",
  "description": "A javascript client to subscribe to gaze data streams over websocket",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
Alexander Bazo committed
8 9 10 11
    "build": "npm run rollup && npm run uglify",
    "rollup": "rollup lib/index.js --sourcemap --format iife --name \"gazeclient\" --file build/gazeclient.js --banner \"// GazeClient Version 1.0 - [https://lab.las3.de/gitlab/eye-tracking-classroom/gaze-client.js]\"",
    "uglify": "uglifyjs build/gazeclient.js -o build/gazeclient.min.js",
    "postuglify": "cp build/gazeclient.min.js demo/gazeclient.min.js"
Alexander Bazo committed
12 13 14 15
  },
  "author": "Alexander Bazo <alexanderbazo@googlemail.com>",
  "license": "MIT",
  "devDependencies": {
Alexander Bazo committed
16 17
    "rollup": "^1.19.4",
    "uglify-es": "^3.3.9"
Alexander Bazo committed
18 19
  }
}