-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.29 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
101
102
103
104
105
106
107
108
109
110
{
"name": "@47ng/check-env",
"version": "0.0.0-semantically-released",
"description": "Check that the critical environment variables are set",
"license": "MIT",
"author": {
"name": "François Best",
"email": "[email protected]",
"url": "https://francoisbest.com"
},
"repository": {
"type": "git",
"url": "https://github.com/47ng/check-env"
},
"keywords": [
"environment",
"environment-variables"
],
"publishConfig": {
"access": "public"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"test": "jest --coverage",
"test:watch": "jest --verbose --watch",
"prebuild": "rm -rf ./dist",
"build:typecheck": "tsc",
"build:transpile": "unbuild",
"build": "run-p build:*",
"ci": "run-s test build",
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.1.0",
"@types/jest": "^29.2.0",
"@types/node": "^18.11.4",
"commitlint": "^17.1.2",
"husky": "8.x",
"jest": "^29.2.1",
"npm-run-all": "^4.1.5",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"unbuild": "^0.9.4"
},
"jest": {
"verbose": true,
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "node"
},
"prettier": {
"arrowParens": "avoid",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"clean",
"doc",
"feat",
"fix",
"perf",
"ref",
"revert",
"style",
"test"
]
],
"subject-case": [
0,
"always",
"sentence-case"
],
"body-leading-blank": [
2,
"always",
true
]
}
}
}