File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ language : node_js
3+ node_js :
4+ - " 6"
5+
6+ sudo : false
7+ dist : trusty
8+
9+ cache :
10+ yarn : true
11+
12+ before_install :
13+ - curl -o- -L https://yarnpkg.com/install.sh | bash
14+ - export PATH=$HOME/.yarn/bin:$PATH
15+
16+ install :
17+ - yarn install
18+
19+ script :
20+ - yarn test
Original file line number Diff line number Diff line change 1+ # ember-es6-class-codemod
2+
3+
4+ A collection of codemod's for ember-es6-class-codemod.
5+
6+ ## Usage
7+
8+ To run a specific codemod from this project, you would run the following:
9+
10+ ```
11+ npx ember-es6-class-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
12+
13+ # or
14+
15+ yarn global add ember-es6-class-codemod
16+ ember-es6-class-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
17+ ```
18+
19+ ## Transforms
20+
21+ <!-- TRANSFORMS_START-->
22+ <!-- TRANSFORMS_END-->
23+
24+ ## Contributing
25+
26+ ### Installation
27+
28+ * clone the repo
29+ * change into the repo directory
30+ * ` yarn `
31+
32+ ### Running tests
33+
34+ * ` yarn test `
35+
36+ ### Update Documentation
37+
38+ * ` yarn update-docs `
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+ 'use strict' ;
3+
4+ require ( 'codemod-cli' ) . runTransform (
5+ __dirname ,
6+ process . argv [ 2 ] /* transform name */ ,
7+ process . argv . slice ( 2 ) /* paths or globs */
8+ )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " ember-es6-class-codemod" ,
3+ "version" : " 0.1.0" ,
4+ "scripts" : {
5+ "test" : " codemod-cli test" ,
6+ "update-docs" : " codemod-cli update-docs"
7+ },
8+ "bin" : " ./bin/cli.js" ,
9+ "keywords" : [
10+ " codemod-cli"
11+ ],
12+ "dependencies" : {
13+ "codemod-cli" : " ^0.1.0"
14+ },
15+ "devDependencies" : {
16+ "jest" : " ^23.1.0"
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments