{"name":"tsconfig","version":"6.0.0","description":"Resole and parse `tsconfig.json`, replicating to TypeScript's behaviour","main":"dist/tsconfig.js","files":["dist/","LICENSE","typings.json"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"npm run build-ts","build-ts":"rm -rf dist && tsc","test-spec":"mocha dist/**/*.spec.js -R spec --bail","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- dist/**/*.spec.js -R spec --bail","test":"npm run build && npm run lint && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git+https://github.com/TypeStrong/tsconfig.git"},"keywords":["TypeScript","compiler","config","tsconfig","json","resolve"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"contributors":[{"name":"basaratali@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/TypeStrong/tsconfig/issues"},"homepage":"https://github.com/TypeStrong/tsconfig","dependencies":{"strip-bom":"^3.0.0","strip-json-comments":"^2.0.0"},"devDependencies":{"bluebird":"^3.4.1","chai":"^3.0.0","istanbul":"^0.4.0","mocha":"^3.2.0","tslint":"^4.5.1","tslint-config-standard":"^4.0.0","typescript":"^2.2.1","typings":"^2.1.0"},"gitHead":"def9987175c6e9b901ae655dcc9b6a00e61aa12c","_id":"tsconfig@6.0.0","_shasum":"6b0e8376003d7af1864f8df8f89dd0059ffcd032","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"6b0e8376003d7af1864f8df8f89dd0059ffcd032","tarball":"http://registry-npm.ywwl.com/tsconfig/download/tsconfig-6.0.0.tgz","integrity":"sha512-n3i8c4BOozElBHYMVkEyF9AudHRvvq6NTc6sVRVmLBQM2A02JKjLoICxRtKkoGu3gROOnRZ85KxiTAcmhWgR0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBffNQtdtDbe1/3Lxi8cRAfGo59m2/db9oVMhKIftF0tAiAeZB5C6PpH54j4KXAP8IV+EzMnGa7nEcP9oefZCVC1wg=="}],"size":6096,"noattachment":false,"key":"/tsconfig/-/tsconfig-6.0.0.tgz"},"maintainers":[{"name":"basarat","email":"basaratali@gmail.com"},{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tsconfig-6.0.0.tgz_1489798748074_0.3184626956935972"},"directories":{},"readme":"# TSConfig\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\nResolve and parse [`tsconfig.json`][tsconfig], replicating TypeScript's behaviour.\n\n## Usage\n\nSee the [TypeScript docs][tsconfig] for information on setting up `tsconfig.json`.\n\n### API\n\n* **resolve(cwd: string, path?: string): Promise<string | void>** Resolve `tsconfig.json`, like TypeScript, allowing a path to be specified and falling back to recursively resolving `tsconfig.json` upward when no path is specified.\n* **resolveSync(cwd: string, path?: string): string | void** Synchronous `resolve`.\n* **find(cwd: string): Promise<string | void>** Standalone behaviour of recursively resolving `tsconfig.json` upward.\n* **findSync(cwd: string): string | void** Synchronous `find`.\n* **load(cwd: string, path?: string): Promise<{ path?: string, config: any }>** Resolve, load and parse `tsconfig.json`.\n* **loadSync(cwd: string, path?: string): { path?: string, config: any }** Synchronous `load`.\n* **readFile(filename: string): Promise<any>** Read a JSON file as `tsconfig.json` (strip BOM, parse JSON and support empty contents).\n* **readFileSync(filename: string): any** Synchronous `readFile`.\n* **parse(contents: string, filename: string): any** Parse file contents as `tsconfig.json` (strip BOM, parse JSON and support empty contents).\n\n## Contributing\n\nFeel free to open issues for discussion.\n\n```sh\n# Install dependencies/typings.\nnpm install\n\n# Run test suite.\nnpm test\n```\n\n## License\n\nMIT License\n\n[npm-image]: https://img.shields.io/npm/v/tsconfig.svg?style=flat\n[npm-url]: https://npmjs.org/package/tsconfig\n[downloads-image]: https://img.shields.io/npm/dm/tsconfig.svg?style=flat\n[downloads-url]: https://npmjs.org/package/tsconfig\n[travis-image]: https://img.shields.io/travis/TypeStrong/tsconfig.svg?style=flat\n[travis-url]: https://travis-ci.org/TypeStrong/tsconfig\n[coveralls-image]: https://img.shields.io/coveralls/TypeStrong/tsconfig.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/TypeStrong/tsconfig?branch=master\n[tsconfig]: http://www.typescriptlang.org/docs/handbook/tsconfig-json.html\n","publish_time":1489798748305,"_cnpm_publish_time":1489798748305,"dist-tags":{"latest":"7.0.0"}}