{"name":"tsconfig","version":"2.2.0","description":"TypeScript project file specification + implementation","main":"dist/tsconfig.js","files":["dist/","LICENSE","typings.json"],"scripts":{"lint":"echo TODO","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":"npm run build"},"repository":{"type":"git","url":"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":{"array-uniq":"^1.0.2","globby":"^4.0.0","parse-json":"^2.2.0","pinkie-promise":"^2.0.0","strip-bom":"^2.0.0","strip-json-comments":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"chai":"^3.0.0","istanbul":"^0.4.0","mocha":"^2.0.1","typescript":"^1.5.0-beta"},"gitHead":"2308fd5dd55dc0efd1445fa68310d40cf4b52782","_id":"tsconfig@2.2.0","_shasum":"7fc16e2790dab70c049bd861c1c532bb770e0837","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"7fc16e2790dab70c049bd861c1c532bb770e0837","tarball":"http://registry-npm.ywwl.com/tsconfig/download/tsconfig-2.2.0.tgz","integrity":"sha512-vC1/FG7GEKyGhCq9CBhOKZJ90sE7fesH9Sm33GfWA5xcJLuLqY++jRU+XeRIcfi3IQPyDquHbDjHmrOJl4e7eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnZfNHkiIy1hDXDM00o7Os8cQN6VjNWS+ZFh4y5jBUMAiAsuc4Kj3p1JDBnQk3QDYQwZ9jqCaCWbBsyS8lt6N4FSQ=="}],"size":8045,"noattachment":false,"key":"/tsconfig/-/tsconfig-2.2.0.tgz"},"maintainers":[{"name":"basarat","email":"basaratali@gmail.com"},{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"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":1447871454395,"_cnpm_publish_time":1447871454395,"dist-tags":{"latest":"7.0.0"}}