bgrins / TinyColor

Fast, small color manipulation and conversion for JavaScript
https://bgrins.github.io/TinyColor/
MIT License
5.05k stars 438 forks source link

v2: `npm run start:demo` fails #185

Closed bgrins closed 6 years ago

bgrins commented 6 years ago

Looks like a script is missing:

> npm run serve
npm ERR! missing script: serve

@scttcper is this due to a missing npm dependency, a script that should be checked in, or something else?

scttcper commented 6 years ago

there isn't a npm run serve. Could rename "start:demo" to just "start" so it would just be npm start

https://github.com/bgrins/TinyColor/blob/v2/package.json#L19-L35

bgrins commented 6 years ago

there isn't a npm run serve. Could rename "start:demo" to just "start" so it would just be npm start

Oops, I encountered the bug I intended to file with "start:demo" and then filed the issue with the wrong command.

> npm run start:demo
 > tinycolor2@1.4.1 start:demo /TinyColor
 > serve demo/public
 sh: serve: command not found
scttcper commented 6 years ago

whoops opened a pr