Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add name and version to package.json in jsLibrary #33

Open
ZeeD opened this issue Aug 23, 2022 · 0 comments
Open

add name and version to package.json in jsLibrary #33

ZeeD opened this issue Aug 23, 2022 · 0 comments

Comments

@ZeeD
Copy link

ZeeD commented Aug 23, 2022

The js library folder is not a valid npm package, as it lacks name and version fields.

{
"scripts": {
"test": "mocha \"tests/test_basic.js\""
},
"dependencies": {
"axios": "0.19.1",
"chai": "4.2.0",
"form-data": "3.0.0",
"mocha": "7.0.1",
"nock": "12.0.1"
}
}

Adding them would allow the users to install it via npm (with the help of https://gitpkg.vercel.app/ ), without the need to publish the jsLibrary to npmjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant