|
|
@ -8,16 +8,10 @@
|
|
|
|
"build": "tsc && ncc build",
|
|
|
|
"build": "tsc && ncc build",
|
|
|
|
"format": "prettier --write **/*.ts",
|
|
|
|
"format": "prettier --write **/*.ts",
|
|
|
|
"format-check": "prettier --check **/*.ts",
|
|
|
|
"format-check": "prettier --check **/*.ts",
|
|
|
|
|
|
|
|
"prepare": "husky install",
|
|
|
|
"test": "jest",
|
|
|
|
"test": "jest",
|
|
|
|
"update-installers": "nwget https://dot.net/v1/dotnet-install.ps1 -O externals/install-dotnet.ps1 && nwget https://dot.net/v1/dotnet-install.sh -O externals/install-dotnet.sh"
|
|
|
|
"update-installers": "nwget https://dot.net/v1/dotnet-install.ps1 -O externals/install-dotnet.ps1 && nwget https://dot.net/v1/dotnet-install.sh -O externals/install-dotnet.sh"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
|
|
|
|
"hooks": {
|
|
|
|
|
|
|
|
"//": "Tests are not run at push time since they can take 2-4 minutes to complete",
|
|
|
|
|
|
|
|
"pre-commit": "npm run format",
|
|
|
|
|
|
|
|
"pre-push": "npm run format-check"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"repository": {
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/actions/setup-dotnet.git"
|
|
|
|
"url": "git+https://github.com/actions/setup-dotnet.git"
|
|
|
@ -44,7 +38,7 @@
|
|
|
|
"@types/node": "^16.11.25",
|
|
|
|
"@types/node": "^16.11.25",
|
|
|
|
"@types/semver": "^6.2.2",
|
|
|
|
"@types/semver": "^6.2.2",
|
|
|
|
"@vercel/ncc": "^0.33.4",
|
|
|
|
"@vercel/ncc": "^0.33.4",
|
|
|
|
"husky": "^7.0.2",
|
|
|
|
"husky": "^8.0.1",
|
|
|
|
"jest": "^27.2.5",
|
|
|
|
"jest": "^27.2.5",
|
|
|
|
"jest-circus": "^27.2.5",
|
|
|
|
"jest-circus": "^27.2.5",
|
|
|
|
"prettier": "^1.19.1",
|
|
|
|
"prettier": "^1.19.1",
|
|
|
|