-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.42 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "grumpus",
"version": "0.0.0-dev",
"description": "Gets upset if your API data is bad!",
"main": "dist/index.js",
"module": "dist/index.es.js",
"sideEffects": false,
"files": [
"dist"
],
"types": "dist/index.d.ts",
"repository": "https://github.com/williamareynolds/grumpus.git",
"author": "William Reynolds <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rimraf dist && rollup -c rollup.config.ts",
"ci.test": "run-s build lint test.coverage test.e2e",
"lint": "eslint src",
"lint.fix": "eslint --fix src",
"test": "jest",
"test.coverage": "jest --coverage",
"test.e2e": "jest -c test/jest-e2e.config.json"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "tsc && jest && lint-staged",
"pre-push": "tsc && jest --collectCoverage && eslint --no-cache src"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"coverageReporters": [
"json",
"lcov",
"text",
"clover"
]
},
"lint-staged": {
"*.ts": "eslint --cache --fix"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^25.2.3",
"@types/node": "^14.0.11",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"axios": "^0.19.2",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^7.2.0",
"fast-check": "^1.24.2",
"fp-ts": "^2.6.5",
"husky": "^4.2.5",
"io-ts": "^2.2.4",
"jest": "^26.0.1",
"lint-staged": "^10.2.9",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"rollup": "^2.15.0",
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
},
"dependencies": {
"axios": "^0.19.2"
},
"peerDependencies": {
"fp-ts": "^2",
"io-ts": "^2.2.4"
}
}