-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
42 lines (42 loc) · 1.42 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
{
"name": "edge-addon",
"version": "2.1.0",
"description": "Publish add-on to Microsoft Edge Add-ons.",
"author": "hyperbola",
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/wdzeng/edge-addon"
},
"scripts": {
"build": "pnpm clean && pnpm transpile && cp action.yml dist",
"transpile": "esbuild src/index.ts --target=node20 --platform=node --minify --bundle --outfile=dist/index.cjs",
"test": "pnpm test:unit-test && pnpm test:upload",
"test:unit-test": "vitest --silent",
"test:upload": "pnpm clean && pnpm test:upload:transpile && node -r dotenv/config dist/test/upload.cjs dotenv_config_path=test/.env.local",
"test:upload:transpile": "esbuild test/upload.ts --platform=node --target=node20 --minify --bundle --outfile=dist/test/upload.cjs",
"clean": "rm -rf dist",
"lint": "eslint --fix src"
},
"dependencies": {
"@actions/core": "^1.10.1",
"axios": "^1.7.7",
"glob": "^11.0.0",
"ts-custom-error": "^3.3.1"
},
"devDependencies": {
"@types/node": "^20.16.9",
"@types/tmp": "^0.2.6",
"axios-mock-adapter": "^2.0.0",
"dotenv": "^16.4.5",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"eslint-config-wdzeng": "github:wdzeng/eslint-config#semver:^0.9.0",
"prettier": "^3.3.3",
"tmp": "^0.2.3",
"typescript": "^5.5.4",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.2"
}
}