-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.99 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
{
"name": "vite-plugin-runtime-config",
"version": "1.0.2",
"description": "A vite plugin for runtime configuration",
"author": {
"name": "Viva con Agua",
"email": "[email protected]",
"url": "https://github.com/Viva-con-Agua/"
},
"maintainers": [
"Finn-Thorben Sell <[email protected]>"
],
"license": "MIT",
"homepage": "https://github.com/Viva-con-Agua/vite-plugin-runtime-config",
"bugs": "https://github.com/Viva-con-Agua/vite-plugin-runtime-config/issues",
"keywords": [
"front-end",
"configuration",
"vite-plugin"
],
"scripts": {
"lint": "run-s lint:eslint lint:prettier",
"lint:eslint": "eslint src/",
"lint:prettier": "prettier --check src/",
"format": "prettier --write src/",
"prepublishOnly": "run-s build",
"build": "run-s clean build:compile_ts build:bundle_plugin_entry build:bundle_patch_script build:bundle_patch_bin:gnu_linux build:bundle_patch_bin:alpine",
"build:compile_ts": "tsc --build",
"build:bundle_plugin_entry": "esbuild --bundle --platform=node --external:lodash --outfile=dist/index.cjs src/index.ts",
"build:bundle_patch_script": "esbuild --bundle --platform=node --outfile=dist/assets/patch_runtime_config.js src/script_entrypoint.ts",
"build:bundle_patch_bin:gnu_linux": "pkg --public --targets node16-linux-x64 -o dist/assets/patch_runtime_config.gnu_linux.bin dist/assets/patch_runtime_config.js",
"build:bundle_patch_bin:alpine": "pkg --public --targets node16-alpine-x64 -o dist/assets/patch_runtime_config.alpine.bin dist/assets/patch_runtime_config.js",
"clean": "rm -rf dist",
"test": "vitest run"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"node": "./dist/index.cjs"
},
"./testing": {
"types": "./dist/testing.d.ts",
"import": "./dist/testing.js"
}
},
"files": [
"dist",
"src"
],
"dependencies": {
"lodash": "^4.14.184"
},
"devDependencies": {
"@types/argparse": "^2.0.10",
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.14",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vitest/coverage-istanbul": "^0.23.2",
"argparse": "^2.0.1",
"dotenv": "^16.0.2",
"dotenv-expand": "^9.0.0",
"esbuild": "^0.15.7",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"npm-run-all": "^4.1.5",
"pkg": "^5.8.0",
"prettier": "^2.7.1",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"vitest": ">0.23.2 <1.0"
},
"peerDependencies": {
"vite": "^3.1.0",
"vitest": ">0.23.2 <1.0"
},
"peerDependenciesMeta": {
"vitest": {
"optional": true
}
}
}