UNPKG

@fav/type

Version:

Function set related to data types for all versions of nodejs and major browsers

69 lines (68 loc) 2.32 kB
{ "name": "@fav/type", "version": "1.0.2", "description": "Function set related to data types for all versions of nodejs and major browsers", "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 -o web/fav.type.js && cd web && uglifyjs fav.type.js --compress --mangle -o fav.type.min.js --source-map url=fav.type.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", "mkdoc": "node tool/mkdoc.js", "build": "npm run lint && npm run coverage && npm run mkdoc && npm run web:build" }, "repository": { "type": "git", "url": "git+https://github.com/sttk/fav-type.git" }, "keywords": [ "type", "datatype", "fav" ], "author": "Takayuki Sato", "license": "MIT", "bugs": { "url": "https://github.com/sttk/fav-type/issues" }, "homepage": "https://github.com/sttk/fav-type#readme", "devDependencies": { "@xslet/platform": "^0.2.1", "browserify": "^16.1.1", "chai": "^3.5.0", "coveralls": "^3.0.0", "eslint": "^4.3.0", "marked": "^0.4.0", "mocha": "^3.4.2", "nyc": "^11.1.0", "semver": "^5.4.1", "uglify-js": "^3.0.26" }, "dependencies": { "@fav/type.format-date": "^1.0.3", "@fav/type.format-number": "^1.0.2", "@fav/type.is-array": "^1.0.2", "@fav/type.is-empty": "^1.0.2", "@fav/type.is-finite-number": "^1.0.2", "@fav/type.is-function": "^1.0.2", "@fav/type.is-integer": "^1.0.2", "@fav/type.is-plain-object": "^1.0.2", "@fav/type.is-string": "^1.0.2", "@fav/type.is-valid-date": "^1.0.2", "@fav/type.to-date": "^1.0.2", "@fav/type.to-finite-number": "^1.0.3", "@fav/type.to-integer": "^1.0.3", "@fav/type.to-number": "^1.0.1" } }