├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── package.json ├── src ├── api │ └── define.ts ├── cfg.ts ├── commands │ ├── deploy.ts │ ├── login.ts │ └── logout.ts ├── github │ └── url.ts ├── index.ts └── utils │ ├── api.ts │ ├── confirm.ts │ ├── log.ts │ ├── parse-sandbox │ ├── __mocks__ │ │ └── pacote.ts │ ├── __tests__ │ │ ├── __snapshots__ │ │ │ └── html-parser.test.ts.snap │ │ ├── dependency-mapper.test.ts │ │ └── html-parser.test.ts │ ├── dependency-mapper.ts │ ├── file-error.ts │ ├── file-mapper.ts │ ├── html-parser.ts │ └── index.ts │ └── url.ts ├── tsconfig.json ├── tslint.json ├── typings ├── deps │ └── pacote.d.ts └── extensions │ └── json.d.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/package.json -------------------------------------------------------------------------------- /src/api/define.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/api/define.ts -------------------------------------------------------------------------------- /src/cfg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/cfg.ts -------------------------------------------------------------------------------- /src/commands/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/commands/deploy.ts -------------------------------------------------------------------------------- /src/commands/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/commands/login.ts -------------------------------------------------------------------------------- /src/commands/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/commands/logout.ts -------------------------------------------------------------------------------- /src/github/url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/github/url.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/utils/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/api.ts -------------------------------------------------------------------------------- /src/utils/confirm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/confirm.ts -------------------------------------------------------------------------------- /src/utils/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/log.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/__mocks__/pacote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/__mocks__/pacote.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/__tests__/__snapshots__/html-parser.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/__tests__/__snapshots__/html-parser.test.ts.snap -------------------------------------------------------------------------------- /src/utils/parse-sandbox/__tests__/dependency-mapper.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/__tests__/dependency-mapper.test.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/__tests__/html-parser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/__tests__/html-parser.test.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/dependency-mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/dependency-mapper.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/file-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/file-error.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/file-mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/file-mapper.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/html-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/html-parser.ts -------------------------------------------------------------------------------- /src/utils/parse-sandbox/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/parse-sandbox/index.ts -------------------------------------------------------------------------------- /src/utils/url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/src/utils/url.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/tslint.json -------------------------------------------------------------------------------- /typings/deps/pacote.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/typings/deps/pacote.d.ts -------------------------------------------------------------------------------- /typings/extensions/json.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/typings/extensions/json.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesandbox/cli/HEAD/yarn.lock --------------------------------------------------------------------------------