UNPKG

@fav/type.is-string

Version:

Checks whether a value is a string or not.

51 lines (50 loc) 1.7 kB
{ "name": "@fav/type.is-string", "version": "1.0.2", "description": "Checks whether a value is a string 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-string -o web/fav.type.is-string.js && cd web && uglifyjs fav.type.is-string.js --compress --mangle -o fav.type.is-string.min.js --source-map url=fav.type.is-string.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-string.git" }, "keywords": [ "string", "is-string", "type", "datatype", "fav" ], "author": "Takayuki Sato", "license": "MIT", "bugs": { "url": "https://github.com/sttk/fav-type.is-string/issues" }, "homepage": "https://github.com/sttk/fav-type.is-string#readme", "devDependencies": { "browserify": "^16.1.0", "chai": "^3.5.0", "coveralls": "^3.0.0", "eslint": "^4.8.0", "mocha": "^3.5.3", "nyc": "^11.2.1", "uglify-js": "^3.1.3" } }