securityos/node_modules/true-myth/package.json

141 lines
3.2 KiB
JSON

{
"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": "4.1.1",
"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": "yarn tsc -p ts/cjs.tsconfig.json",
"ts:es": "yarn tsc -p ts/es.tsconfig.json",
"ts:typedefs": "yarn tsc -p ts/types.tsconfig.json && mv defs/* . && rmdir defs",
"ts:all": "yarn ts:cjs && yarn ts:es && yarn ts:typedefs",
"build": "yarn clean && yarn ts:all",
"clean": "rimraf ./*.d.ts ./*.d.ts.map 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",
"*.d.ts.map",
"dist",
"src",
"ember-addon.js"
],
"license": "MIT",
"devDependencies": {
"@types/jest": "^24.0.6",
"@typescript-eslint/parser": "^2.12.0",
"eslint": "^6.7.2",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"prettier-eslint": "^9.0.1",
"rimraf": "^2.6.2",
"shelljs": "^0.8.2",
"ts-jest": "^24.2.0",
"typedoc": "^0.15.5",
"typescript": "^3.7.3"
},
"engines": {
"node": "10.* || >= 12.*"
},
"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
}
},
"globals": {
"ts-jest": {
"diagnostics": {
"ignoreCodes": [
151001
]
}
}
}
},
"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"
}
},
"volta": {
"node": "12.13.1",
"yarn": "1.21.1"
}
}