forked from patrickmichalina/typescript-monads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) 路 2.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "typescript-monads",
"version": "0.0.0-development",
"description": "Write cleaner TypeScript",
"main": "index.js",
"author": "Patrick Michalina <[email protected]> (https://patrickmichalina.com)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/patrickmichalina/typescript-monads"
},
"keywords": [
"typescript",
"javascript",
"monads",
"maybe",
"result",
"either",
"functional"
],
"scripts": {
"test": "jest",
"test.watch": "jest --watch",
"dist": "ts-node ./scripts/publish-prep.ts",
"lint": "tslint --project tsconfig.json --config tslint.json",
"build": "tsc -p tsconfig.build.json && npm run rollup && terser dist/index.js -o dist/index.min.js --source-map",
"rollup": "rollup dist/index.js -o dist/index.js --format umd --name \"typescriptMonads\" -m"
},
"release": {
"pkgRoot": "dist"
},
"devDependencies": {
"@types/fs-extra": "^8.0.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.5",
"codecov": "^3.5.0",
"fs-extra": "^8.1.0",
"istanbul": "^0.4.5",
"jest": "24.8.0",
"jest-junit": "^6.4.0",
"rollup": "^1.21.2",
"semantic-release": "^15.13.24",
"terser": "^4.3.1",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"tslint": "^5.20.0",
"tslint-immutable": "^6.0.1",
"typescript": "^3.6.3"
},
"jest": {
"testURL": "http://localhost",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageReporters": [
"lcov"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}