├── .gitignore ├── README.md ├── index.js ├── package.json └── test ├── fixtures ├── arrowFun │ ├── expected.js │ └── input.js ├── classComponents │ ├── expected.js │ └── input.js ├── createClass │ ├── expected.js │ └── input.js ├── decorators │ ├── expected.js │ └── input.js ├── emptyReturn │ ├── expected.js │ └── input.js ├── exportDefaultAnon │ ├── expected.js │ └── input.js ├── functionExpr │ ├── expected.js │ └── input.js ├── knownComponents │ ├── expected.js │ └── input.js └── passThrough │ ├── expected.js │ └── input.js ├── mocha.opts └── tests.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/package.json -------------------------------------------------------------------------------- /test/fixtures/arrowFun/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/arrowFun/expected.js -------------------------------------------------------------------------------- /test/fixtures/arrowFun/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/arrowFun/input.js -------------------------------------------------------------------------------- /test/fixtures/classComponents/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/classComponents/expected.js -------------------------------------------------------------------------------- /test/fixtures/classComponents/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/classComponents/input.js -------------------------------------------------------------------------------- /test/fixtures/createClass/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/createClass/expected.js -------------------------------------------------------------------------------- /test/fixtures/createClass/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/createClass/input.js -------------------------------------------------------------------------------- /test/fixtures/decorators/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/decorators/expected.js -------------------------------------------------------------------------------- /test/fixtures/decorators/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/decorators/input.js -------------------------------------------------------------------------------- /test/fixtures/emptyReturn/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/emptyReturn/expected.js -------------------------------------------------------------------------------- /test/fixtures/emptyReturn/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/emptyReturn/input.js -------------------------------------------------------------------------------- /test/fixtures/exportDefaultAnon/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/exportDefaultAnon/expected.js -------------------------------------------------------------------------------- /test/fixtures/exportDefaultAnon/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/exportDefaultAnon/input.js -------------------------------------------------------------------------------- /test/fixtures/functionExpr/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/functionExpr/expected.js -------------------------------------------------------------------------------- /test/fixtures/functionExpr/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/functionExpr/input.js -------------------------------------------------------------------------------- /test/fixtures/knownComponents/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/knownComponents/expected.js -------------------------------------------------------------------------------- /test/fixtures/knownComponents/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/knownComponents/input.js -------------------------------------------------------------------------------- /test/fixtures/passThrough/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/passThrough/expected.js -------------------------------------------------------------------------------- /test/fixtures/passThrough/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/fixtures/passThrough/input.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --ui tdd -------------------------------------------------------------------------------- /test/tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opbeat/babel-plugin-add-react-displayname/HEAD/test/tests.js --------------------------------------------------------------------------------