react-onclickoutside icon indicating copy to clipboard operation
react-onclickoutside copied to clipboard

The prepublish script is not cross-platform compatible

Open Pomax opened this issue 6 years ago • 1 comments

The prepublish script is currently of a form that cannot ever work on a windows machine: test $(npm -v | tr . '\\n' | head -n 1) -ge '4' || exit 1 uses shell-specific syntax. If there is no cross-platform way to run this as a set of shell instructions, then there might be node projects to help turn this into something cross-platform compatible (e.g. shx and the like), or barring that, be turned into a prepublish.js that can be invoked using "prepublish": "node test/prepublish.js".

/cc @Andarist

Pomax avatar Feb 20 '19 20:02 Pomax

Yeah, this would have to be rewritten to plain JS to achieve cross-platform compatibility in the easiest way.

Andarist avatar Feb 20 '19 22:02 Andarist