package.json
{
"name": "extract-ts",
"version": "1.0.0",
"description": "A Typesafe extract / get method",
"main": "dist/index.js",
"scripts": {
"lint": "tslint lib/**/*.ts",
"test": "jest",
"test:coverage": "jest --coverage",
"build": "tsc",
"verify": "npm run lint && npm run test:coverage",
"precommit": "pretty-quick --staged && npm run verify && npm run precommit:documentation",
"precommit:documentation": "npm run generate:documentation && git add docs",
"generate:documentation": "typedoc --out docs --target ES5 --hideGenerator --excludeExternals --module commonjs --theme minimal --readme none --exclude \"**/*+(.spec|spec.int|index).ts\" lib",
"codecov": "codecov"
},
"author": "Christian Özelt",
"license": "MIT",
"devDependencies": {
"@types/jest": "^23.3.2",
"co-exec": "^1.0",
"codecov": "^1.0.1",
"husky": "^0.14.3",
"jest": "^23.6.0",
"prettier": "^1.14.2",
"pretty-quick": "^1.6.0",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typedoc": "^0.12.0",
"typescript": "^3.0.3"
},
"peerDependencies": {
"typescript": ">= 2.8.0"
},
"jest": {
"roots": [
"<rootDir>/lib"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": -10
}
}
}
}