forked from opticdev/optic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.44 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
{
"private": true,
"scripts": {
"build-workspace": "node ./workspaces/scripts/build/build.js",
"build-domain": "cd ./core && ./scripts/package.sh",
"copy-domain": "echo copied",
"build-ui": "cd workspaces/ui && yarn run build-local",
"copy-ui": "rm -rf ./workspaces/cli-server/resources/ui && mkdir -p ./workspaces/cli-server/resources/ui && cp -R ./workspaces/ui/build/* ./workspaces/cli-server/resources/ui/",
"postpull": "yarn install && yarn run build-domain && yarn run build-workspace && yarn run build-ui && yarn run copy-ui && source export_development_aliases.sh",
"registry:clean-optic": "rm -rf docker/private-npm-registry/storage/@useoptic/*",
"registry:start": "cd docker/private-npm-registry && docker-compose up &",
"registry:start-background": "yarn run registry:start && wait-on http-get://localhost:4873",
"registry:stop": "cd docker/private-npm-registry && docker-compose down",
"publish-local": "YARN_REGISTRY=http://localhost:4873 yarn workspaces run publish --non-interactive --registry=http://localhost:4873"
},
"workspaces": [
"workspaces/domain",
"workspaces/ui",
"workspaces/cli-config",
"workspaces/proxy",
"workspaces/cli-client",
"workspaces/cli-server",
"workspaces/local-cli"
],
"devDependencies": {
"@types/debug": "^4.1.5",
"typescript": "^3.7.4",
"wait-on": "^4.0.0",
"wsrun": "^5.2.0"
},
"dependencies": {
"debug": "^4.1.1"
}
}