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

chore: standardize npm script names #60

Merged
merged 2 commits into from Aug 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 6 additions & 5 deletions package.json
Expand Up @@ -12,12 +12,13 @@
"eslint-publish-release": "./bin/eslint-publish-release.js"
},
"scripts": {
"test": "mocha tests/lib/*.js",
"lint": "eslint .",
"generate-alpharelease": "node ./bin/eslint-generate-prerelease.js alpha",
"generate-betarelease": "node ./bin/eslint-generate-prerelease.js beta",
"generate-release": "node ./bin/eslint-generate-release.js",
"publish-release": "node ./bin/eslint-publish-release.js"
"release:generate:latest": "eslint-generate-release",
"release:generate:alpha": "eslint-generate-prerelease alpha",
"release:generate:beta": "eslint-generate-prerelease beta",
"release:generate:rc": "eslint-generate-prerelease rc",
"release:publish": "eslint-publish-release",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These commands don't seem to work, for example:

> eslint-release@3.2.0 release:generate:latest
> eslint-generate-release

'eslint-generate-release' is not recognized as an internal or external command,
operable program or batch file.

I did npm install but that doesn't seem to handle bin from the package itself.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we have to run the local file because we are releasing the tool in question. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did npm install but that doesn't seem to handle bin from the package itself.

I think you will need to run the npm link command as well. But I'll revert it to the old behavior.

"test": "mocha tests/lib/*.js"
},
"files": [
"bin",
Expand Down