-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 1.17 KB
/
package.json
File metadata and controls
24 lines (24 loc) · 1.17 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
{
"name": "dtvem",
"version": "0.0.0",
"private": true,
"description": "Development dependencies for dtvem - requires Node.js via dtvem",
"scripts": {
"prepare": "husky",
"format": "gofmt -w ./src",
"lint": "golangci-lint run --timeout=5m --config=.golangci.yml ./src/...",
"test": "go test -v ./src/...",
"test:coverage": "go test -v -coverprofile=coverage.out -covermode=atomic ./src/... && go tool cover -html=coverage.out -o coverage.html",
"build": "npm run build:cli && npm run build:shim",
"build:cli": "go build -v -ldflags=\"-s -w\" -o dist/dtvem.exe ./src",
"build:shim": "go build -v -ldflags=\"-s -w\" -o dist/dtvem-shim.exe ./src/cmd/shim",
"deploy:local": "npm run build && copy dist\\dtvem.exe %USERPROFILE%\\.dtvem\\bin\\dtvem.exe && copy dist\\dtvem-shim.exe %USERPROFILE%\\.dtvem\\bin\\dtvem-shim.exe && echo Deploy complete. Run 'dtvem reshim' manually to update shims.",
"clean": "rm -rf dist coverage.out coverage.html",
"check": "npm run format && npm run lint && npm run test"
},
"devDependencies": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"husky": "^9.0.0"
}
}