@fav/type.to-number
Version:
Convert a number or a string to a number.
54 lines (53 loc) • 1.76 kB
JSON
{
"name": "@fav/type.to-number",
"version": "1.0.1",
"description": "Convert a number or a string to a number.",
"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.to-number -o web/fav.type.to-number.js && cd web && uglifyjs fav.type.to-number.js --compress --mangle -o fav.type.to-number.min.js --source-map url=fav.type.to-number.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.to-number.git"
},
"keywords": [
"number",
"to-number",
"type",
"datatype",
"fav"
],
"author": "Takayuki Sato",
"license": "MIT",
"bugs": {
"url": "https://github.com/sttk/fav-type.to-number/issues"
},
"homepage": "https://github.com/sttk/fav-type.to-number#readme",
"dependencies": {
"@fav/type.is-string": "^1.0.1"
},
"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"
}
}