MithrilJS / ospec

Noiseless testing framework
MIT License
48 stars 13 forks source link

Remove devDependencies before publish to NPM #29

Closed futurist closed 4 years ago

futurist commented 4 years ago

The devDependencies make no sense in npm package, just make the installation longer and heavier.

"devDependencies": {
        "compose-regexp": "0.4.0",
        "eslint": "^6.8.0",
        "ospec": "4.0.1"
}

If the sales point is light weight, above should be get rid off before publish.

dead-claudia commented 4 years ago

Those won't be installed when you npm install ospec. npm's smart enough not to instal those as they're dev-only.

Don't see the need to statically compile that out when publishing.