├── .gitignore ├── .npmignore ├── .nvmrc ├── .prettierrc ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── babel.config.js ├── example ├── package-lock.json ├── package.json ├── src │ ├── index.css │ ├── index.js │ └── override.css └── webpack.config.js ├── index.js ├── package.json ├── src ├── __specs__ │ └── styleable.spec.js ├── styleable.js └── utils │ └── get-display-name.js └── test ├── mocha.opts └── utils ├── babel-register.js ├── dom.js ├── node-extensions.js └── react-warnings.js /.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src/ 2 | __specs__/ -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 11.0.0 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | semi: false 2 | singleQuote: true 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/babel.config.js -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/example/package.json -------------------------------------------------------------------------------- /example/src/index.css: -------------------------------------------------------------------------------- 1 | .heading { 2 | color: red; 3 | } -------------------------------------------------------------------------------- /example/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/example/src/index.js -------------------------------------------------------------------------------- /example/src/override.css: -------------------------------------------------------------------------------- 1 | .heading { 2 | color: blue; 3 | } -------------------------------------------------------------------------------- /example/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/example/webpack.config.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/styleable') -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/package.json -------------------------------------------------------------------------------- /src/__specs__/styleable.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/src/__specs__/styleable.spec.js -------------------------------------------------------------------------------- /src/styleable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/src/styleable.js -------------------------------------------------------------------------------- /src/utils/get-display-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/src/utils/get-display-name.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/test/mocha.opts -------------------------------------------------------------------------------- /test/utils/babel-register.js: -------------------------------------------------------------------------------- 1 | require('@babel/register') 2 | -------------------------------------------------------------------------------- /test/utils/dom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/test/utils/dom.js -------------------------------------------------------------------------------- /test/utils/node-extensions.js: -------------------------------------------------------------------------------- 1 | require.extensions['.css'] = function () { return {} } -------------------------------------------------------------------------------- /test/utils/react-warnings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluralsight/react-styleable/HEAD/test/utils/react-warnings.js --------------------------------------------------------------------------------