@fav/type.is-function
Version:
Checks whether a value is a function or not.
53 lines (52 loc) • 1.79 kB
JSON
{
"name": "@fav/type.is-function",
"version": "1.0.2",
"description": "Checks whether a value is a function or not.",
"main": "index.js",
"files": [
"index.js",
"web/"
],
"scripts": {
"lint": "eslint .",
"test": "mocha",
"coverage": "nyc --reporter=lcov --reporter=text-summary npm test",
"coveralls": "nyc --reporter=text-lcov npm test | coveralls",
"web:build": "npm run web:build-src && npm run web:build-test",
"web:build-src": "browserify index.js --standalone fav.type.is-function -o web/fav.type.is-function.js && cd web && uglifyjs fav.type.is-function.js --compress --mangle -o fav.type.is-function.min.js --source-map url=\"'fav.type.is-function.min.js.map'\"",
"web:build-test": "node tool/mktest.js",
"chrome:install": "npm i --no-save mocha-chrome",
"chrome:test": "mocha-chrome test/web/browser-test.html",
"phantom:install": "npm i --no-save phantomjs-prebuilt mocha-phantomjs",
"phantom:test": "mocha-phantomjs -p node_modules/.bin/phantomjs test/web/browser-test.html",
"build": "npm run lint && npm run coverage && npm run web:build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sttk/fav-type.is-function.git"
},
"keywords": [
"function",
"is-function",
"type",
"datatype",
"fav"
],
"author": "Takayuki Sato",
"license": "MIT",
"bugs": {
"url": "https://github.com/sttk/fav-type/issues.is-function"
},
"homepage": "https://github.com/sttk/fav-type.is-function#readme",
"devDependencies": {
"@xslet/platform": "^0.2.0",
"browserify": "^16.1.0",
"chai": "^3.5.0",
"coveralls": "^3.0.0",
"eslint": "^4.8.0",
"mocha": "^3.5.3",
"nyc": "^11.2.1",
"semver": "^5.4.1",
"uglify-js": "^3.1.3"
}
}