Npm shows unexpected warning every time, when I am publishong any of my packahes.
npm WARN publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm WARN publish errors corrected:
npm WARN publish Removed invalid "scripts"
...
{
"name": "@softvisio/api",
"version": "2.9.8",
"description": "API",
"keywords": [
"softvisio",
"api"
],
"homepage": "https://softvisio-node.github.io/api/",
"bugs": {
"url": "https://github.com/softvisio-node/api/issues",
"email": "zdm <[email protected]>"
},
"repository": {
"type": "git",
"url": "git+https://github.com/softvisio-node/api.git"
},
"license": "ISC",
"author": "zdm <[email protected]>",
"type": "module",
"imports": {
"#core/*": "@softvisio/core/*",
"#lib/*": "./lib/*.js"
},
"exports": {
"./*": "./lib/*.js"
},
"files": [
"/bin",
"/lib",
"/resources",
"/src"
],
"dependencies": {
"linkedom": "^0.15.0",
"random-location": "^1.1.3"
},
"peerDependencies": {
"@softvisio/core": "^7.0.0"
}
}
See above.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Npm shows unexpected warning every time, when I am publishong any of my packahes.
Result:
pachage.json:Expected Behavior
No warnings should be desplayed, because
package.jsonhas noscriptsptoperty at all.Steps To Reproduce
See above.
Environment
; copy and paste output from `npm config ls` here