-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
18 lines (18 loc) · 1.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "@shaddix/identity-oauth-spa-extensions-buil",
"version": "0.1.19",
"private": true,
"dependencies": {
"concurrently": "5.2.0",
"copyfiles": "2.3.0",
"cross-env": "7.0.3",
"rimraf": "3.0.2"
},
"scripts": {
"build-dotnet-version": "cross-env-shell dotnet publish IdentityOAuthSpaExtensions.Example/IdentityOAuthSpaExtensions.Example.csproj -c Release -o publish $VERSION",
"build-dotnet": "rimraf publish && cross-env VERSION=\\\"/p:Version\\\"=\\\"$npm_package_version\\\" yarn build-dotnet-version",
"docker-build": "cross-env-shell docker build -t registry.gitlab.com/artur.drobinskiy/identity-oauth-spa-extensions:latest -t registry.gitlab.com/artur.drobinskiy/identity-oauth-spa-extensions:$npm_package_version -f Dockerfile publish",
"docker-push": "cross-env-shell docker push registry.gitlab.com/artur.drobinskiy/identity-oauth-spa-extensions:latest && cross-env-shell docker push registry.gitlab.com/artur.drobinskiy/identity-oauth-spa-extensions:$npm_package_version",
"build": "yarn build-dotnet && yarn docker-build && yarn docker-push && yarn version --patch"
}
}