UNPKG

graphql-input-number

Version:

A configurable custom input number type for GraphQL with sanitization and validation.

59 lines (58 loc) 1.85 kB
{ "name": "graphql-input-number", "version": "0.0.10", "description": "A configurable custom input number type for GraphQL with sanitization and validation.", "main": "lib/index.js", "scripts": { "build": "babel src --out-dir lib", "build-watch": "babel src --watch --out-dir lib", "clear": "rm -rf ./lib ./coverage ./.nyc_output", "coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls", "nyc": "nyc npm test && nyc report --reporter=lcov", "prepublish": "npm run clear && npm test", "pretest": "npm run build", "start": "npm test", "test": "mocha", "test-watch": "mocha --watch", "update-D": "npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest graphql@latest mocha@latest nyc@latest", "watch": "npm run build-watch & npm run test-watch" }, "repository": { "type": "git", "url": "git+https://github.com/joonhocho/graphql-input-number.git" }, "keywords": [ "configurable", "custom", "input", "number", "scalar", "type", "GraphQL", "sanitization", "validation." ], "author": "Joon Ho Cho", "license": "MIT", "bugs": { "url": "https://github.com/joonhocho/graphql-input-number/issues" }, "homepage": "https://github.com/joonhocho/graphql-input-number#readme", "peerDependencies": { "graphql": "*" }, "dependencies": {}, "devDependencies": { "babel-cli": "^6.9.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-preset-es2015": "^6.9.0", "babel-preset-stage-0": "^6.5.0", "babel-register": "^6.9.0", "chai": "^3.5.0", "chai-as-promised": "^5.3.0", "coveralls": "^2.11.9", "graphql": "*", "mocha": "^2.5.3", "nyc": "^6.4.4" } }