Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverjash/lodash-to-lodash-amd-codemods
https://github.com/oliverjash/lodash-to-lodash-amd-codemods
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/oliverjash/lodash-to-lodash-amd-codemods
- Owner: OliverJAsh
- Created: 2015-11-05T17:21:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-07T18:49:04.000Z (almost 9 years ago)
- Last Synced: 2024-08-02T07:22:57.676Z (3 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lodash to [lodash-amd](https://github.com/lodash/lodash-amd) codemods
```
npm i
# Update _.forEach => forEach (in AMD module)
./node_modules/.bin/jscodeshift -t codemods/methods.js tests/methods.js
# Update _.chain().each() => chain().and(each) (in AMD module)
./node_modules/.bin/jscodeshift -t codemods/chain.js tests/chain.js
```