我想postinstall
在我的包中使用 npm hook 来实现我的要求。这使用安全吗?我的意思是它会产生安全问题吗?
我正在使用如下:
"scripts": {
"postinstall" : "node ./tagchange.js",
"scripts": "gulp schematics-tasks && gulp schematics-remove && gulp adding-externals && npm run packagr",
"bundle": "rollup -c rollup.config.js"
},