I'm investigating how the code around matchers work and I would like to be able to throw debuggers in to step through it. Could anyone share their development environment setup?
My setup right now consists of a react app (using create-react-app) that includes the package. I used
npm link to point to the package on my local machine which appears to work when I open up node modules. However, my code changes do not appear - I suspect it is because it's referencing the minified version.
The docs state that
grunt release will build the minified version of the package. However, it also requires the tests to pass before it will run.
moment(‘some string’).isValid()but that still throws a deprecation warning stack trace. Is there some way/function I could use to simply test if a string is parseable to a date with moment?
moment.localeData()is supposed to return a Locale, according to moment.d.ts