-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
77 lines (77 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
76
77
{
"name": "@humanwhocodes/env",
"version": "4.0.0",
"description": "A utility to verify that environment variables exist.",
"type": "module",
"main": "dist/env.cjs",
"module": "dist/env.js",
"types": "dist/env.d.ts",
"exports": {
"require": {
"types": "./dist/env.d.cts",
"default": "./dist/env.cjs"
},
"import": {
"types": "./dist/env.d.ts",
"default": "./dist/env.js"
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/nzakas"
},
"scripts": {
"build": "rollup -c && tsc && node -e \"fs.copyFileSync('./dist/env.d.ts', './dist/env.d.cts')\"",
"prepare": "npm run build",
"lint": "eslint src/ tests/",
"pretest": "npm run build",
"test:unit": "mocha tests/env.test.js",
"test:build": "node tests/pkg.test.cjs && node tests/pkg.test.mjs",
"test:types": "node tests/types.test.js",
"test": "npm run test:unit && npm run test:build && npm run test:types"
},
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/env.git"
},
"keywords": [
"nodejs",
"deno",
"environment",
"environment variables"
],
"author": "Nicholas C. Zakas",
"license": "BSD-3-Clause",
"devDependencies": {
"@eslint/js": "^9.0.0",
"@rollup/plugin-terser": "0.4.4",
"@tsconfig/node16": "^16.1.1",
"@types/chai": "^4.3.9",
"@types/mocha": "^10.0.3",
"@types/node": "22.10.1",
"chai": "4.5.0",
"eslint": "^9.0.0",
"lint-staged": "15.2.10",
"mocha": "11.0.0",
"rollup": "4.24.2",
"typescript": "5.7.2",
"yorkie": "2.0.0"
},
"engines": {
"node": "^16.20.0 || ^18.0.0 || ^20.0.0 || ^22.0.0"
}
}