-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 2.31 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
{
"name": "envapi",
"version": "0.2.1",
"description": "An API to interact with environment files",
"type": "module",
"main": "target/cjs/index.cjs",
"exports": {
".": {
"types": "./target/dts/index.d.ts",
"require": "./target/cjs/index.cjs",
"import": "./target/esm/index.mjs",
"default": "./target/esm/index.mjs"
}
},
"module": "target/esm/index.mjs",
"types": "target/dts/index.d.ts",
"files": [
"target/cjs",
"target/esm",
"target/dts",
"target/coverage/lcov.info"
],
"scripts": {
"build": "concurrently 'npm:build:*'",
"build:js": "node ./src/scripts/build.mjs --entry='./src/main/ts/index.ts'",
"build:jsr": "node ./src/scripts/build-jsr.mjs",
"build:dts": "tsc --emitDeclarationOnly --outDir target/dts",
"build:docs": "typedoc --options src/main/typedoc",
"test": "concurrently 'npm:test:*'",
"test:target": "git diff --exit-code --quiet || (echo 'Uncommitted changes' && exit 1)",
"test:lint": "oxlint -c src/test/lint/.oxlintrc.json src",
"test:unit": "vitest run --dir src/test/ts --coverage.enabled --coverage.include src/main/ts --coverage.reportsDirectory target/coverage --coverage.thresholds.100",
"test:jsr": "jsr publish --dry-run",
"test:audit": "npm audit",
"test:smoke:cjs": "node ./src/test/smoke/smoke.cjs",
"test:smoke:mjs": "node ./src/test/smoke/smoke.mjs",
"publish:draft": "npm run build && npm publish --no-git-tag-version"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webpod/envapi.git"
},
"author": "Anton Golub <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/webpod/envapi/issues"
},
"homepage": "https://github.com/webpod/envapi#readme",
"devDependencies": {
"@types/node": "^22.10.5",
"@vitest/coverage-v8": "^2.1.8",
"c8": "^10.1.3",
"concurrently": "^9.1.2",
"esbuild": "^0.24.2",
"esbuild-node-externals": "^1.16.0",
"esbuild-plugin-entry-chunks": "^0.1.15",
"esbuild-plugin-extract-helpers": "^0.0.6",
"esbuild-plugin-transform-hook": "^0.1.1",
"fast-glob": "^3.3.3",
"jsr": "^0.13.2",
"minimist": "^1.2.8",
"oxlint": "^0.15.5",
"typedoc": "^0.27.6",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}