-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 1.86 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
{
"name": "@sevinf/maybe",
"version": "0.5.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"sideEffects": false,
"author": "Sergey Tatarintsev <[email protected]> (https://github.com/SevInf)",
"license": "MIT",
"files": [
"dist"
],
"scripts": {
"test": "jest",
"build:esm": "tsc --module es2015 --outDir dist/esm --declaration --declarationDir dist/types",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build": "run-s build:*",
"prettier": "prettier '**/*.{ts,json,md}'",
"format": "yarn prettier --write",
"lint:eslint": "eslint . --ext ts",
"lint:prettier": "yarn prettier --check",
"lint": "run-s lint:*",
"tsc:check": "tsc --noEmit",
"prerelease": "run-s clean test build",
"release": "standard-version",
"clean": "rimraf dist"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@types/jest": "^24.0.12",
"@typescript-eslint/eslint-plugin": "^1.7.0",
"@typescript-eslint/parser": "^1.7.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.2.0",
"husky": "^2.2.0",
"jest": "^24.7.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.0",
"rimraf": "^2.6.3",
"standard-version": "^5.0.2",
"ts-jest": "^24.0.2",
"typescript": "^3.4.5"
},
"jest": {
"preset": "ts-jest"
},
"prettier": {
"tabWidth": 4,
"singleQuote": true,
"overrides": [
{
"files": [
"*.json",
".*.json",
"*.md"
],
"options": {
"tabWidth": 2
}
}
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "run-s lint tsc:check",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}