1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {
- "name": "vrview",
- "version": "2.0.2",
- "description": "Embed VR content into your webpage.",
- "main": "index.js",
- "dependencies": {
- "@tweenjs/tween.js": "^16.8.0",
- "es6-promise": "^3.0.2",
- "eventemitter3": "^1.2.0",
- "lodash": "^4.17.5",
- "shaka-player": "^2.0.0",
- "stats-js": "^1.0.0-alpha1",
- "three": "^0.84.0",
- "urijs": "^1.18.2",
- "webvr-boilerplate": "^0.4.6",
- "webvr-polyfill": "^0.9.38"
- },
- "devDependencies": {
- "browserify": "^13.1.1",
- "debug": "^2.6.9",
- "derequire": "^2.0.6",
- "eslint": "^4.2.0",
- "eslint-config-google": "^0.9.1",
- "rollup": "^0.37.2",
- "uglify-es": "^3.0.24",
- "watchify": "^3.8.0"
- },
- "scripts": {
- "_mkdir": "mkdir -p build",
- "build-min": "npm run _mkdir && browserify src/embed/main.js | derequire | uglifyjs -c > build/embed.min.js && npm run build-three-closure",
- "build-dev": "npm run _mkdir && browserify src/embed/main.js | derequire > build/embed.js && npm run build-three-closure",
- "build-analytics-min": "npm run _mkdir && browserify src/embed/with-analytics.js | derequire | uglifyjs -c > build/embed.min.js && npm run build-three-closure",
- "build-analytics-dev": "npm run _mkdir && browserify src/embed/with-analytics.js | derequire > build/embed.js && npm run build-three-closure",
- "build-api-min": "npm run _mkdir && browserify --standalone VRView src/api/main.js | derequire | uglifyjs -c > build/vrview.min.js",
- "build-api-dev": "npm run _mkdir && browserify --standalone VRView src/api/main.js | derequire > build/vrview.js",
- "build": "npm run build-min; npm run build-dev; npm run build-api",
- "build-analytics": "npm run build-analytics-min; npm run build-analytics-dev; npm run build-api",
- "build-api": "npm run build-api-min; npm run build-api-dev",
- "watch": "npm run _mkdir && watchify src/embed/main.js -v -d -o build/embed.js",
- "watch-api": "npm run _mkdir && watchify --standalone VRView src/api/main.js -v -d -o build/vrview.js",
- "build-three-closure": "npm run _mkdir && rollup -c src/third_party/three/rollup.config.js && java -jar src/third_party/three/closure-compiler-v20160713.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs src/third_party/three/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
- "build-dms": "npm run _mkdir && uglifyjs scripts/js/device-motion-sender.js > build/device-motion-sender.min.js",
- "build-all": "npm run build-analytics; npm run build-three-closure; npm run build-dms",
- "test": "npm run build"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/google/vrview.git"
- },
- "author": "",
- "license": "Apache-2.0",
- "bugs": {
- "url": "https://github.com/google/vrview/issues"
- },
- "homepage": "https://github.com/google/vrview#readme"
- }
|