Input:
{
"scripts": {
"install": "npm run build",
"prepare": "husky",
"build": "tsc",
"lint": "eslint .",
"test": "vitest run"
}
}
Expted:
{
"scripts": {
"install": "npm run build",
"prepare": "husky",
"build": "tsc",
"lint": "eslint .",
"test": "vitest run"
}
}
Actual:
{
"scripts": {
"build": "tsc",
"install": "npm run build",
"lint": "eslint .",
"prepare": "husky",
"test": "vitest run"
}
}
Lifecycle scripts: https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts
Related: #353 #171
Input:
{ "scripts": { "install": "npm run build", "prepare": "husky", "build": "tsc", "lint": "eslint .", "test": "vitest run" } }Expted:
{ "scripts": { "install": "npm run build", "prepare": "husky", "build": "tsc", "lint": "eslint .", "test": "vitest run" } }Actual:
{ "scripts": { "build": "tsc", "install": "npm run build", "lint": "eslint .", "prepare": "husky", "test": "vitest run" } }Lifecycle scripts: https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts
Related: #353 #171