-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 2.57 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 2.57 KB
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
{
"name": "env-sentinel",
"version": "1.4.0",
"description": "Zero-dependency tool that auto-validates .env files against schema.env, with optional fallback and secure warnings.",
"keywords": [
"env",
"dotenv",
"validator",
"secure-env",
"schema",
"ci-cd",
"nodejs"
],
"author": "Serhii Malyshev",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/malyshev/env-sentinel.git"
},
"bugs": {
"url": "https://github.com/malyshev/env-sentinel/issues"
},
"homepage": "https://github.com/malyshev/env-sentinel#readme",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"bin": {
"env-sentinel": "./bin/cli.js"
},
"scripts": {
"watch": "tsc -p tsconfig.json -w",
"build": "rimraf dist && tsc -p tsconfig.build.json --removeComments",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"format": "prettier --write \"{src,test}/**/*.ts\"",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:perf": "jest --config jest.perf.config.js tests/performance",
"benchmark": "node scripts/benchmark-cli.js",
"benchmark:all": "npm run test:perf && npm run benchmark",
"analyze": "node scripts/analyze-bundle.js",
"perf": "npm run benchmark:all && npm run analyze"
},
"engines": {
"node": ">=18"
},
"files": [
"dist",
"bin",
"README.md"
],
"devDependencies": {
"@eslint/js": "^9.31.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.13",
"eslint": "^9.31.0",
"globals": "^16.3.0",
"jest": "^30.0.4",
"prettier": "3.6.2",
"rimraf": "^6.0.1",
"ts-jest": "^29.4.0",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.36.0"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node",
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testMatch": [
"<rootDir>/**/*.spec.ts",
"tests/**/*.spec.ts"
],
"testPathIgnorePatterns": [
"tests/performance"
],
"collectCoverageFrom": [
"src/**/*.(t|j)s"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageDirectory": "coverage"
}
}