-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 4.48 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@ffflabs/cf-badger",
"version": "2.1.0",
"description": "Safe status badges for private repos, running on Cloudflare Workers",
"module": "dist/index.mjs",
"main": "dist/index.mjs",
"types": "types/main.d.ts",
"type": "module",
"scripts": {
"watch:vitedge": "vitedge --port 3333 --host 0.0.0.0 --mode development",
"build:vitedge": "vitedge --emptyOutDir --outDir=docs build",
"deploy": "yarn yt && yarn write_commit && yarn eslint && yarn transpile && wrangler publish",
"tail": "wrangler tail --format=pretty",
"dev": "wrangler dev --env=dev",
"format": "prettier --write '**/*.{ts,js,css,json,md}'",
"eslint": "eslint --ext js --ext ts --ignore-path .eslintignore api/*.ts api/modules/*.ts",
"allexport": " set -o allexport; source .env; set +o allexport",
"localtest": "yarn allexport;yarn test",
"test": "cp wrangler.example.toml wrangler.toml && node --experimental-vm-modules `yarn bin`/ava --verbose test/handler.test.mjs ",
"build:test": "yarn transpile && esbuild test/handler.test.ts --format=esm --outfile=test/handler.test.mjs",
"start": "concurrently \"npm:watch:*\"",
"watch:miniflare": "yarn yt && NODE_ENV=development miniflare dist/index.mjs -c ./wrangler.toml -o Badger=Badger --wrangler-env=dev --build-watch-path=api",
"build": "rm -rf dist/* && esbuild api/index.ts --sourcemap --format=esm --bundle --outfile=dist/index.mjs",
"build:pre": "yarn yt && yarn write_commit",
"ty": "echo 'cat wrangler.toml | yj -ty > wrangler.yaml'",
"write_commit": "export COMMIT=`git rev-parse --short HEAD`; sed -i \"s/_RELEASE_/$COMMIT/g\" wrangler.toml",
"yt": "cat wrangler.yaml | yj -yt -i > wrangler.toml",
"miniflare": "yarn yt && NODE_ENV=development miniflare dist/index.mjs -c ./wrangler.toml -o Badger=Badger --wrangler-env=dev --build-watch-path=api",
"transpile": "tsc --project ./tsconfig.json",
"act": "yarn allexport; act push -s PERSONAL_GITHUB_TOKEN=$GITHUB_TOKEN -j test --reuse"
},
"author": "author",
"license": "MIT OR Apache-2.0",
"devDependencies": {
"@antfu/eslint-config": "^0.7.0",
"@ava/typescript": "^2.0.0",
"@babel/core": "7",
"@babel/eslint-parser": "^7.12.1",
"@cloudflare/workers-types": "^2.2.2",
"@headlessui/vue": "^1.4.1",
"@heroicons/vue": "^1.0.4",
"@iconify/json": "^1.1.380",
"@intlify/vite-plugin-vue-i18n": "^2.4.0",
"@mrbbot/node-fetch": "^4.6.0",
"@octokit/auth-oauth-user": "^1.3.0",
"@sentry/node": "^6.2.0",
"@tailwindcss/forms": "^0.3.4",
"@types/chai": "^4.2.11",
"@types/mime": "^2.0.3",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.31",
"@types/node-fetch": "^2.5.8",
"@types/nprogress": "^0.2.0",
"@types/service-worker-mock": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.14.1",
"@vitejs/plugin-vue": "1.4.0",
"@vue/compiler-sfc": "3.2.4",
"@vue/server-renderer": "3.2.24",
"@vueuse/core": "^5.2.0",
"ansi-regex": "^5.0.1",
"ava": "^3.15.0",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"esbuild": "^0.13.3",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-security": "^1.4.0",
"markdown-it-prism": "^2.2.1",
"miniflare": "^2.0.0-rc.2",
"prettier": "^2.2.1",
"tailwindcss": "^2.2.17",
"ts-node": "^10.4.0",
"typescript": "^4.4.3",
"vite": "~2.4.4",
"vite-plugin-components": "^0.13.2",
"vite-plugin-icons": "^0.6.5",
"vite-plugin-md": "^0.9.0",
"vite-plugin-pages": "^0.15.1",
"vite-plugin-pwa": "^0.8.2",
"vite-plugin-vue-layouts": "0.3.1",
"vite-plugin-windicss": "1.2.7",
"vite-ssr": "0.13.0"
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.1.3",
"@cloudflare/wrangler": "^1.19.5",
"@headlessui/vue": "^1.4.1",
"@heroicons/vue": "^1.0.4",
"@octokit/app": "^12.0.5",
"@octokit/auth-app": "^3.6.0",
"@octokit/graphql": "^4.8.0",
"@octokit/rest": "^18.11.0",
"@tailwindcss/forms": "^0.3.4",
"@vueuse/core": "^5.2.0",
"@vueuse/head": "^0.6.0",
"concurrently": "^6.4.0",
"itty-durable": "^0.4.0",
"itty-router": "^2.4.2",
"itty-router-extras": "^0.4.2",
"js-base64": "^3.7.2",
"kleur": "^4.1.4",
"mime": "^2.5.2",
"nprogress": "^0.2.0",
"prism-theme-vars": "^0.2.2",
"toucan-js": "^2.5.0",
"vitedge": "0.16.0",
"vue": "3.2.24",
"vue-i18n": "^9.1.7",
"vue-router": "^4.0.10"
}
}