-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevbox.json
More file actions
48 lines (48 loc) · 1.62 KB
/
devbox.json
File metadata and controls
48 lines (48 loc) · 1.62 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
"packages": [
"nodejs@latest",
"web-ext@latest"
],
"env_from": ".env",
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
],
"build": [
"set -xe",
"npx tsc",
"npx @tailwindcss/cli -i ./src/dashboard.css -o ./dist/dashboard.css",
"cp ./src/Material_Symbols_Outlined.css ./dist/Material_Symbols_Outlined.css",
"cp ./src/Fira_Code_Nerd_Font.css ./dist/Fira_Code_Nerd_Font.css",
"mkdir -p ./dist/fonts",
"cp ./src/fonts/MaterialSymbolsOutlined/MaterialSymbolsOutlined-VariableFont_FILL,GRAD,opsz,wght.ttf ./dist/fonts/MaterialSymbolsOutlined-VariableFont_FILL,GRAD,opsz,wght.ttf",
"cp ./src/fonts/FiraCodeNerdFont/FiraCodeNerdFont-Regular.ttf ./dist/fonts/FiraCodeNerdFont-Regular.ttf",
"cp ./manifest.json ./dist/manifest.json",
"cp ./src/dashboard.html ./dist/dashboard.html",
"cp ./src/options.html ./dist/options.html",
"cp ./src/dashboard_css.html ./dist/dashboard_css.html",
"cp ./assets/* ./dist/"
],
"update": [
"npm update"
],
"audit": [
"npm audit"
],
"lint": [
"web-ext -s dist lint"
],
"package": [
"set -xe",
"devbox run build",
"web-ext -s dist build --overwrite-dest",
"web-ext -s dist sign --channel=unlisted --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET"
]
}
}
}