UNPKG

iselement

Version:

Utility function that returns `true` if referenced object is DOM element.

67 lines (66 loc) 2.39 kB
{ "title": "isElement", "name": "iselement", "version": "1.1.4", "description": "Utility function that returns `true` if referenced object is DOM element.", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/fczbkk/iselement.git" }, "author": { "name": "Riki Fridrich", "email": "riki@fczbkk.com", "url": "http://fczbkk.com/" }, "bugs": { "url": "https://github.com/fczbkk/iselement/issues" }, "homepage": "https://github.com/fczbkk/iselement#readme", "main": "lib/index.js", "module": "module/index.js", "webpack": "module/index.js", "jsnext:main": "module/index.js", "scripts": { "dev": "npm run test:dev", "test:dev": "npm run test -- --no-single-run --auto-watch", "test": "cross-env NODE_ENV=es5 karma start ./karma.conf.js", "cleanup": "rimraf temp lib module", "prebuild": "npm run eslint:build && npm run cleanup && npm run test", "build": "npm run compile", "compile": "npm run compile:es5 && npm run compile:es6", "compile:es5": "cross-env NODE_ENV=es5 webpack --config ./webpack.config.js", "compile:es6": "cross-env NODE_ENV=es6 babel src -d module", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "preversion": "npm run cleanup && npm prune && npm install", "postversion": "git push && git push --tags && npm publish", "version": "npm run build && npm run doc && npm run changelog && git add -A", "doc": "documentation readme ./src/index.js -s 'Documentation'", "eslint": "eslint ./{src,test}/**/*.js", "eslint:build": "npm run eslint -- --max-warnings 0" }, "devDependencies": { "babel-cli": "^6.11.4", "babel-core": "^6.13.2", "babel-loader": "^6.2.5", "babel-plugin-transform-object-assign": "^6.8.0", "babel-preset-es2015": "^6.13.2", "conventional-changelog-cli": "^1.2.0", "cross-env": "^2.0.0", "documentation": "^4.0.0-beta9", "eslint": "^3.3.1", "eslint-loader": "^1.5.0", "jasmine-core": "^2.4.1", "karma": "^1.2.0", "karma-coverage": "^1.1.1", "karma-jasmine": "^1.0.2", "karma-mocha-reporter": "^2.1.0", "karma-phantomjs-launcher": "^1.0.1", "karma-webpack": "^1.8.0", "mocha": "^3.0.2", "phantomjs-prebuilt": "^2.1.12", "rimraf": "^2.5.4", "webpack": "^1.13.2", "webpack-dev-server": "^1.15.0" } }