UNPKG

sentinel-dom

Version:

Lightweight, powerful and reliable library to determine the visibility of DOM elements.

69 lines (68 loc) 1.91 kB
{ "name": "sentinel-dom", "libraryName": "Sentinel", "version": "0.8.1", "description": "Lightweight, powerful and reliable library to determine the visibility of DOM elements.", "source": "src/index.ts", "main": "lib/index.js", "engines": { "node": ">= 5.10", "npm": ">= 4" }, "scripts": { "start": "webpack --watch", "build": "NODE_ENV=production webpack", "test:unit": "jest test/unit", "test:e2e": "node_modules/.bin/cypress run --spec test/integration/index.test.js", "cypress": "node_modules/.bin/cypress open", "test": "npm run test:unit && npm run test:e2e", "prepublishOnly": "npm run build && npm test" }, "repository": { "type": "git", "url": "git+https://github.com/kettanaito/sentinel-dom.git" }, "keywords": [ "sentinel", "sentinel-dom", "visible", "visibility", "tracker", "tracking", "observer", "dom", "visibility analysis", "snapshot", "snapshots", "dom element", "impressions", "impression", "visible", "analytics tracking", "tracker" ], "license": "MIT", "devDependencies": { "@babel/core": "^7.2.0", "@babel/plugin-proposal-class-properties": "^7.2.1", "@babel/plugin-proposal-export-default-from": "^7.2.0", "@babel/plugin-proposal-export-namespace-from": "^7.2.0", "@babel/plugin-proposal-object-rest-spread": "^7.2.0", "@babel/preset-env": "^7.2.0", "awesome-typescript-loader": "^5.2.1", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4", "babel-minify-webpack-plugin": "^0.3.1", "babel-polyfill": "^6.26.0", "chai": "^4.2.0", "cypress": "^1.1.0", "istanbul": "^0.4.5", "jest": "^23.6.0", "tslint": "^5.11.0", "tslint-loader": "^3.5.4", "typescript": "^3.2.2", "webpack": "^4.27.1", "webpack-bundle-analyzer": "^3.0.3", "webpack-cli": "^3.1.2" } }