UNPKG

@sanjagh/option

Version:

Out of the box solution for writing null-safe javascript

46 lines (45 loc) 1.23 kB
{ "name": "@sanjagh/option", "version": "0.1.1", "description": "Out of the box solution for writing null-safe javascript", "main": "lib/index.js", "license": "MIT", "homepage": "https://github.com/sanjagh/option#readme", "repository": "github:sanjagh/option", "author": "Amirali Esmaeili", "keywords": [ "option", "optional", "null-safe", "monad", "maybe", "functional", "fp", "sanjagh" ], "scripts": { "lint": "eslint .", "flow": "flow", "test": "jest", "check": "npm run lint && npm run flow && npm run test", "clean": "rm -rf lib", "babel": "babel -d lib src", "gen-types": "cp src/index.js lib/index.js.flow", "build": "npm run clean && npm run babel && npm run gen-types", "prepack": "npm run check && npm run build" }, "devDependencies": { "@babel/cli": "^7.6.0", "@babel/core": "^7.5.5", "@babel/plugin-transform-flow-strip-types": "^7.4.4", "@babel/preset-env": "^7.5.5", "babel-eslint": "^10.0.2", "eslint": "^6.2.2", "eslint-config-airbnb-base": "^14.0.0", "eslint-plugin-import": "2.18.2", "flow-bin": "^0.106.3", "husky": "^3.0.4", "jest": "^24.9.0" }, "dependencies": {} }