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

Misc. npm and testing updates/tweaks #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brettz9
Copy link

@brettz9 brettz9 commented Apr 29, 2020

  • Travis: Remove old versions; add 12, 14, 16, 17
  • npm: Add recommended bugs, keywords, dependencies and use author/contributors
  • npm: Update devDeps, and switch to Babel 7/preset-env
  • npm: Use simple run script syntax
  • npm: Drop package-lock.json in favor of npmrc for consistency with other estools projects
  • Maintenance: Add .editorconfig
  • Maintenance: Drop use of gulpfile
  • Update: Mocha API
  • Testing: Add nyc
  • Testing: Use chai/register-expect
  • Testing: Drop bundled esprima in favor of using versioned
  • Testing: Update espree API to supply sourceType/ecmaVersion
  • Testing: Enable espree for dynamic import and adjust test expectation to take into account full Program context
  • Docs: Use more modern syntax in examples

This would still need a final manual check against old versions, but should otherwise be ready for review.

@brettz9 brettz9 mentioned this pull request Apr 29, 2020
@brettz9 brettz9 force-pushed the npm-updates branch 2 times, most recently from 3d2efa9 to b1e56aa Compare April 30, 2021 01:56
@brettz9
Copy link
Author

brettz9 commented Apr 30, 2021

@michaelficarra : Would you have time for a review on this?

@sanex3339
Copy link
Contributor

HI. Can you please duplicate this PR to my fork?
https://github.com/javascript-obfuscator/estraverse

- npm: Add recommended `bugs`, `keywords`, `dependencies` and use `author`/`contributors`
- npm: Update devDeps, and switch to Babel 7/preset-env
- npm: Use simple run script syntax
- npm: Drop `package-lock.json` in favor of npmrc for consistency with other estools projects
- Maintenance: Add `.editorconfig`
- Maintenance: Drop use of gulpfile
- Update: Mocha API
- Testing: Add nyc
- Testing: Use `chai/register-expect`
- Testing: Drop bundled `esprima` in favor of using versioned
- Testing: Update espree API to supply `sourceType`/`ecmaVersion`
- Testing: Enable `espree` for dynamic import and adjust test expectation to take into account full Program context
- Docs: Use more modern syntax in examples
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

Successfully merging this pull request may close these issues.

None yet

2 participants