{ "name": "true-myth", "description": "A library for safe functional programming in JavaScript, with first-class support for TypeScript and Flow", "homepage": "https://true-myth.js.org", "author": { "name": "Chris Krycho", "email": "hello@chriskrycho.com", "url": "http://www.chriskrycho.com" }, "repository": { "type": "git", "url": "https://github.com/true-myth/true-myth" }, "bugs": { "url": "https://github.com/true-myth/true-myth/issues" }, "version": "2.2.3", "main": "dist/cjs/index.js", "module": "dist/es/index.js", "types": "index.d.ts", "ember-addon": { "main": "ember-addon.js" }, "keywords": [ "ember-addon", "typescript", "functional programming", "maybe", "result" ], "scripts": { "ts:cjs": "tsc -p ts/cjs.tsconfig.json", "ts:es": "tsc -p ts/es.tsconfig.json", "ts:typedefs": "tsc --outDir . --emitDeclarationOnly", "ts:all": "yarn ts:cjs && yarn ts:es && yarn ts:typedefs", "build": "yarn clean && yarn ts:all", "clean": "rimraf ./*.d.ts dist", "doc": "./scripts/build-docs", "lint": "yarn eslint src/*.ts test/*.ts", "prepublishOnly": "yarn test && yarn build", "postpublish": "yarn clean", "preversion": "./scripts/build-docs && git add docs", "test": "jest && yarn lint", "tdd": "jest --watch" }, "files": [ "*.d.ts", "dist", "ember-addon.js" ], "license": "MIT", "devDependencies": { "@types/jest": "^23.3.7", "eslint": "^5.7.0", "jest": "^23.5.0", "prettier": "^1.14.3", "prettier-eslint": "^8.8.2", "rimraf": "^2.6.2", "shelljs": "^0.8.2", "ts-jest": "^23.1.4", "typedoc": "^0.13.0", "typescript": "^3.1.3", "typescript-eslint-parser": "^20.0.0" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json" ], "collectCoverage": true, "collectCoverageFrom": [ "src/*" ], "coveragePathIgnorePatterns": [ "src/index.ts" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "statements": 100, "lines": 100 } } }, "prettier": { "printWidth": 100, "semi": true, "singleQuote": true, "trailingComma": "es5", "tabWidth": 2 }, "eslintConfig": { "parser": "typescript-eslint-parser", "extends": [ "eslint:recommended" ], "parserOptions": { "ecmaVersion": 2018, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "env": { "es6": true }, "rules": { "no-undef": "off", "no-unused-vars": "off", "no-redeclare": "off", "no-irregular-whitespace": "off" } } }