├── .eslintignore ├── .eslintrc ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── lib ├── _subrequire.js ├── bundle.js ├── cache.js ├── index.js ├── plugin.js ├── transform-cache.js ├── transform.js └── walk.js ├── package.json └── test ├── .eslintrc ├── _fixture.js ├── fixtures ├── import-and-return │ ├── data-proxy.js │ ├── data.js │ └── index.js ├── import │ ├── babel.json │ ├── dependencies.json │ └── index.js ├── require │ ├── dependencies.json │ ├── expected.js │ └── index.js └── walk-filenames │ ├── file.js │ ├── folder │ └── index.js │ └── index.js ├── mocha.opts ├── nodepack.js ├── transform-cache.js ├── transform.js └── walk-bundle.js /.eslintignore: -------------------------------------------------------------------------------- 1 | test/fixtures 2 | lib/_subrequire.js 3 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/README.md -------------------------------------------------------------------------------- /lib/_subrequire.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/_subrequire.js -------------------------------------------------------------------------------- /lib/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/bundle.js -------------------------------------------------------------------------------- /lib/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/cache.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/plugin.js -------------------------------------------------------------------------------- /lib/transform-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/transform-cache.js -------------------------------------------------------------------------------- /lib/transform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/transform.js -------------------------------------------------------------------------------- /lib/walk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/lib/walk.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/package.json -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/.eslintrc -------------------------------------------------------------------------------- /test/_fixture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/_fixture.js -------------------------------------------------------------------------------- /test/fixtures/import-and-return/data-proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/import-and-return/data-proxy.js -------------------------------------------------------------------------------- /test/fixtures/import-and-return/data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/import-and-return/data.js -------------------------------------------------------------------------------- /test/fixtures/import-and-return/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/import-and-return/index.js -------------------------------------------------------------------------------- /test/fixtures/import/babel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/import/babel.json -------------------------------------------------------------------------------- /test/fixtures/import/dependencies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/import/dependencies.json -------------------------------------------------------------------------------- /test/fixtures/import/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/import/index.js -------------------------------------------------------------------------------- /test/fixtures/require/dependencies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/require/dependencies.json -------------------------------------------------------------------------------- /test/fixtures/require/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/require/expected.js -------------------------------------------------------------------------------- /test/fixtures/require/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/require/index.js -------------------------------------------------------------------------------- /test/fixtures/walk-filenames/file.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/walk-filenames/folder/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1 2 | -------------------------------------------------------------------------------- /test/fixtures/walk-filenames/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/fixtures/walk-filenames/index.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --timeout 10s 2 | -------------------------------------------------------------------------------- /test/nodepack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/nodepack.js -------------------------------------------------------------------------------- /test/transform-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/transform-cache.js -------------------------------------------------------------------------------- /test/transform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/transform.js -------------------------------------------------------------------------------- /test/walk-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonathanong/babel-nodepack/HEAD/test/walk-bundle.js --------------------------------------------------------------------------------