-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
49 lines (49 loc) · 1.3 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
{
"name": "vite-register",
"version": "0.0.9",
"description": "Use Vite env variables inside Node scripts and tests runners via a require hook.",
"main": "dist/register.js",
"engines": {
"node": ">=12"
},
"scripts": {
"build": "esbuild src/index.ts src/register.ts --platform=node --target=es2019 --format=cjs --outdir=dist/",
"test": "run-p test:uvu test:mocha",
"test:uvu": "uvu -r tsm -r src/register.ts tests/uvu",
"test:mocha": "mocha -r esbuild-runner/register -r src/register.ts tests/mocha/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tommywalkie/vite-register.git"
},
"keywords": [
"vite",
"env",
"register",
"import",
"meta",
"uvu",
"mocha"
],
"author": "Tom Bazarnik <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/tommywalkie/vite-register/issues"
},
"homepage": "https://github.com/tommywalkie/vite-register#readme",
"dependencies": {
"parse-key-value-pair": "1.1.2",
"pirates": "^4.0.1"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.6",
"esbuild": "^0.13.10",
"esbuild-runner": "^2.2.1",
"mocha": "^9.1.3",
"npm-run-all": "^4.1.5",
"tsm": "^2.1.4",
"uvu": "^0.5.2",
"vite": "^2.6.13"
}
}