UNPKG

@theopenweb/js-sensor

Version:

JavaScript sensor library for native input sensors.

67 lines (66 loc) 2.07 kB
{ "name": "@theopenweb/js-sensor", "main": "./class/js-sensor.js", "version": "1.0.1", "description": "JavaScript sensor library for native input sensors.", "directories": { "example": "example", "test": "test" }, "scripts": { "esdoc": "./node_modules/.bin/esdoc -c ./.esdoc.json", "eslint": "gulp eslint", "browserify": "browserify ./class/js-sensor.js ./class/browser-sensor-watcher.js ./class/sensor-handler.js -o ./dist/bundle.js", "build": "npm run browserify", "build-all": "npm run build && npm run build-tests", "build-tests": "browserify ./test/js-sensor.test.js ./test/browser-sensor-watcher.test.js ./test/sensor-handler.test.js -o ./dist/tests.js", "test": "npm run build-all && npm run esdoc && npm run eslint && start ./test/mocha-html/index.html", "example": "npm run build && start ./example/index.html", "server": "browser-sync start --server" }, "keywords": [ "watchPosition", "getUserMedia", "deviceOrientation", "deviceLight", "deviceProximity", "deviceMotion", "gyro", "watch", "coordinates", "gps", "sensor", "観察", "経緯", "センサー", "位置", "オリエンテーション", "近接度" ], "repository": { "type": "git", "url": "git+https://github.com/theopenwebjp/js-sensor.git" }, "author": "The Open Web <noreply@theopenweb.jp> (https://theopenweb.jp)", "contributors": [ "Damien Golding <noreply@damiengolding.com> (https://damiengolding.com)" ], "homepage": "https://theopenweb.info", "bugs": { "url": "https://github.com/theopenwebjp/js-sensor/issues" }, "private": false, "license": "MIT", "devDependencies": { "browser-sync": "^2.27.7", "browserify": "^17.0.0", "chai": "^4.3.6", "esdoc": "^1.1.0", "esdoc-standard-plugin": "^1.0.0", "eslint": "^8.10.0", "eslint-html-reporter": "^0.7.4", "gulp": "^4.0.2", "gulp-eslint": "^6.0.0", "mocha": "^9.2.1" } }