vlucas / vlid

Lightweight validation library with NO dependencies. A nice Joi alternative with a similar API.
BSD 3-Clause "New" or "Revised" License
65 stars 6 forks source link

Parcel not found #11

Open a1300 opened 3 years ago

a1300 commented 3 years ago

Reproduction

# clone
git clone https://github.com/vlucas/vlid

# cd
cd vlid

# install dependencies
npm install

# build
npm run build
# -> sh: 1: parcel: not found
vlucas commented 3 years ago

Parcel is the bundler, which in this case was installed globally. You should not need it unless you are building the package for release.

You can fix this with npm i -g parcel-bundler.

You do perhaps have a point that it should be included in the devDependencies list though.

a1300 commented 3 years ago

Yes, I would add it to the devDependencies also to fixate the parcel version