forked from criticalmanufacturing/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 3.81 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
{
"name": "cmf-cli-builder",
"version": "1.0.0",
"description": "Builder package for cmf-cli",
"main": "index.js",
"private": true,
"scripts": {
"prepare": "husky install",
"build:clean": "rimraf dist/** && rimraf npm/dist/**",
"bump:pre": "npm run bump:npm:pre && npm run bump:dotnet:pre",
"bump:patch": "npm run bump:npm:patch && npm run bump:dotnet:patch",
"bump:feature": "npm run bump:npm:feature && npm run bump:dotnet:feature",
"bump:breaking": "npm run bump:npm:breaking && npm run bump:dotnet:breaking",
"build:prod": "npm run build:clean && npm run build:prod:win && npm run build:prod:linux && npm run build:prod:osx",
"build:prod:win": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r win10-x64 -o dist/win-x64",
"build:prod:linux": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r linux-x64 -o dist/linux-x64",
"build:prod:osx": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r osx-x64 -o dist/osx-x64",
"build:bundle": "npm run build:clean && npm run build:bundle:win && npm run build:bundle:linux && npm run build:bundle:osx",
"build:bundle:win": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r win10-x64 -o npm/dist/win-x64",
"build:bundle:linux": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r linux-x64 -o npm/dist/linux-x64",
"build:bundle:osx": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r osx-x64 -o npm/dist/osx-x64",
"build:prod:selfcontained:win": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r win10-x64 -o dist/win-x64 --self-contained=false /p:PublishSingleFile=true",
"build:prod:selfcontained:linux": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r linux-x64 -o dist/linux-x64 --self-contained=false /p:PublishSingleFile=true",
"build:prod:selfcontained:osx": "dotnet publish ./cmf-cli/cmf.csproj -c Release -r osx-x64 -o dist/osx-x64 --self-contained=false /p:PublishSingleFile=true",
"publish": "cd npm && npm publish --tag next && cd ..",
"publish:live": "cd npm && npm publish --tag latest && cd ..",
"publish:dev": "DEV_VERSION=0.0.0-$(git branch --show-current)-$(date '+%Y%m%d%H%M') npm run bump:npm:dev && npm run build:bundle && cd npm && npm publish --tag $(git branch --show-current) --registry http://vm-it.cmf.criticalmanufacturing.com:4873 && cd ..",
"bump:npm:pre": "cd npm && npm version prerelease --no-git-tag-version && cd ..",
"bump:npm:patch": "cd npm && npm version patch --no-git-tag-version && cd ..",
"bump:npm:feature": "cd npm && npm version minor --no-git-tag-version && cd ..",
"bump:npm:breaking": "cd npm && npm version major --no-git-tag-version && cd ..",
"bump:npm:dev": "cd npm && npm version $DEV_VERSION --no-git-tag-version && cd ..",
"bump:dotnet:pre": "cd cmf-cli && dotnet-bump prerelease --force --no-commit && cd .. && cd core && dotnet-bump prerelease --force --no-commit && cd ..",
"bump:dotnet:patch": "cd cmf-cli && dotnet-bump patch --force --no-commit && cd .. && cd core && dotnet-bump patch --force --no-commit && cd ..",
"bump:dotnet:feature": "cd cmf-cli && dotnet-bump minor --force --no-commit && cd .. && cd core && dotnet-bump minor --force --no-commit && cd ..",
"bump:dotnet:breaking": "cd cmf-cli && dotnet-bump major --force --no-commit && cd .. && cd core && dotnet-bump major --force --no-commit && cd ..",
"gen:changelog": "cd npm && standard-version && cd ..",
"commit": "git-cz"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"author": "Marco Silva",
"license": "BSD-3-Clause",
"dependencies": {
"dotnet-bump": "^1.6.0",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@commitlint/cz-commitlint": "^16.2.4",
"commitizen": "^4.2.4",
"husky": "^7.0.4",
"standard-version": "^9.3.2"
}
}