-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 1.33 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
{
"private": true,
"name": "docker-diary",
"workspaces": [
"packages/lib",
"packages/console",
"packages/vscode"
],
"devDependencies": {
"typescript": "^4.1.2"
},
"scripts": {
"build-lib": "yarn workspace docker-diary-lib run build",
"build-console": "yarn workspace docker-diary run build",
"build-vscode": "yarn workspace docker-diary-vscode run build",
"build": "yarn workspaces run build",
"console": "yarn run build-lib && yarn run build-console && node ./packages/console/build/src/index.js",
"build-image": "docker build . -f console.Dockerfile -t jonrad/docker-diary:latest",
"watch-vscode": "yarn workspace docker-diary-vscode run watch",
"watch-lib": "yarn workspace docker-diary-lib run watch",
"build-vscode-packager": "docker build . -f vscode.Dockerfile -t jonrad/docker-diary-vscode-packager:tmp",
"delete-vscode-packager": "docker image rm jonrad/docker-diary-vscode-packager:tmp",
"package-vscode": "yarn run build-vscode-packager && docker run --rm -v $PWD:/output jonrad/docker-diary-vscode-packager:tmp npm -- run package -o /output && yarn run delete-vscode-packager",
"publish-vscode": "yarn run build-vscode-packager && docker run --rm -it -v $PWD:/output jonrad/docker-diary-vscode-packager:tmp npm -- run publish && yarn run delete-vscode-packager"
}
}