-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.09 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 3.09 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
{
"name": "esbuild-plugin-environment",
"version": "0.4.0",
"description": "esbuild plugin to define process.env variables",
"license": "MIT",
"author": {
"email": "eric@webdeveric.com",
"name": "Eric King",
"url": "http://webdeveric.com/"
},
"keywords": [
"esbuild",
"plugin",
"environment"
],
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/webdeveric/esbuild-plugin-environment.git"
},
"bugs": {
"url": "https://github.com/webdeveric/esbuild-plugin-environment/issues"
},
"homepage": "https://github.com/webdeveric/esbuild-plugin-environment",
"type": "module",
"main": "./dist/mjs/plugin.js",
"types": "./dist/types/plugin.d.ts",
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"engines": {
"node": ">=20.0.0"
},
"exports": {
".": {
"types": "./dist/types/plugin.d.ts",
"require": "./dist/cjs/plugin.js",
"import": "./dist/mjs/plugin.js"
},
"./*": {
"types": "./dist/types/*.d.ts",
"require": "./dist/cjs/*.js",
"import": "./dist/mjs/*.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"lint": "eslint --fix ./*{js,cjs,mjs,mts} ./src",
"clean": "rimraf ./dist/",
"prebuild": "pnpm clean",
"build": "tsc --build tsconfig.cjs.json tsconfig.mjs.json --force",
"postbuild": "echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && echo '{\"type\":\"module\"}' > ./dist/mjs/package.json && pnpm validate",
"validate": "validate-package-exports --check --info",
"typecheck": "tsc --build --verbose --noEmit",
"spellcheck": "cspell --no-progress './{.github,src,test}/**/*.{ts,js,json}' './*.{md,js}' './package.json'",
"format": "prettier --write ./*.{js,json,md} ./src/ ./test/ --no-error-on-unmatched-pattern",
"test": "vitest -c vitest.config.mts",
"coverage": "vitest run -c vitest.config.mts --coverage",
"prepack": "pnpm build",
"prepublishOnly": "pnpm typecheck && pnpm spellcheck && pnpm lint && pnpm coverage",
"prepare": "husky"
},
"prettier": "@webdeveric/prettier-config",
"peerDependencies": {
"esbuild": ">=0.15"
},
"dependencies": {
"esbuild-plugin-define": "^0.6.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^20.5.0",
"@commitlint/types": "^20.5.0",
"@types/node": "^22.19.15",
"@vitest/coverage-v8": "^4.1.2",
"@webdeveric/eslint-config-ts": "^0.12.0",
"@webdeveric/prettier-config": "^0.4.0",
"commitlint": "^20.5.0",
"commitlint-plugin-cspell": "^0.7.0",
"cspell": "^9.7.0",
"esbuild": "^0.27.4",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-import": "^2.32.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.3",
"typescript": "^6.0.2",
"validate-package-exports": "^0.23.0",
"vitest": "^4.1.2"
}
}