UNPKG

enum-fp

Version:

Functional enum type for javascript with simple pattern matching

49 lines (48 loc) 1.2 kB
{ "name": "enum-fp", "version": "1.0.2", "description": "Functional enum type for javascript with simple pattern matching", "main": "./build/Enum.js", "repository": "https://github.com/phenax/enum-fp", "author": "Akshay Nair <phenax5@gmail.com>", "license": "MIT", "keywords": [ "functional", "fp", "enum", "type", "js", "pattern", "matching", "switch" ], "scripts": { "build": "babel src --out-dir build --minified --compact --no-comments --delete-dir-on-start", "watch": "yarn build --watch", "lint": "eslint ./src", "test": "jest", "test:ci": "jest", "coverage": "jest --coverage", "coverage:ci": "yarn coverage && codecov" }, "babel": { "presets": [ "@babel/preset-env" ], "plugins": [ "@babel/plugin-proposal-class-properties" ] }, "devDependencies": { "@babel/cli": "^7.1.0", "@babel/core": "^7.1.0", "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/preset-env": "^7.1.0", "babel-core": "^7.0.0-bridge", "babel-eslint": "^10.0.1", "babel-jest": "^23.6.0", "codecov": "^3.1.0", "eslint": "^5.9.0", "jest": "^23.6.0" } }