{"name":"typescript","version":"2.7.2-dev.20180207","keywords":["TypeScript","Microsoft","compiler","language","javascript"],"author":{"name":"Microsoft Corp."},"license":"Apache-2.0","_id":"typescript@2.7.2-dev.20180207","maintainers":[{"name":"typescript","email":"typescript@microsoft.com"}],"homepage":"http://typescriptlang.org/","bugs":{"url":"https://github.com/Microsoft/TypeScript/issues"},"bin":{"tsc":"./bin/tsc","tsserver":"./bin/tsserver"},"dist":{"shasum":"cce45b8a291be54342d10947a7c5745d38f5b373","tarball":"http://registry-npm.ywwl.com/typescript/download/typescript-2.7.2-dev.20180207.tgz","fileCount":73,"integrity":"sha512-6BM5tdFCVxMNWdgq07rDZo9nilDCwen3oz70q9aoxsCCtm2/gjWJ2q3NisgEfGglgKJKhAFxuMV6GrpWp0SkOA==","signatures":[{"sig":"MEUCIFUPCYKSU7JCYkTvDBpHicEYJsa5BFCdLOuki26fGDOoAiEAwTbA2m2C+PnWxpzSvhBda2a4rTXlbISdyT2ddC4onrM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36370918,"size":6075023,"noattachment":false,"key":"/typescript/-/typescript-2.7.2-dev.20180207.tgz"},"main":"./lib/typescript.js","readme":"[![Build Status](https://travis-ci.org/Microsoft/TypeScript.svg?branch=master)](https://travis-ci.org/Microsoft/TypeScript)\r\n[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)\r\n[![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescript)\r\n\r\n# TypeScript\r\n\r\n[![Join the chat at https://gitter.im/Microsoft/TypeScript](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Microsoft/TypeScript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\r\n\r\n[TypeScript](https://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types, classes, and modules to JavaScript. TypeScript supports tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the [playground](https://www.typescriptlang.org/play/), and stay up to date via [our blog](https://blogs.msdn.microsoft.com/typescript) and [Twitter account](https://twitter.com/typescriptlang).\r\n\r\n## Installing\r\n\r\nFor the latest stable version:\r\n\r\n```bash\r\nnpm install -g typescript\r\n```\r\n\r\nFor our nightly builds:\r\n\r\n```bash\r\nnpm install -g typescript@next\r\n```\r\n\r\n## Contribute\r\n\r\nThere are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript.\r\n* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in.\r\n* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls).\r\n* Engage with other TypeScript users and developers on [StackOverflow](https://stackoverflow.com/questions/tagged/typescript). \r\n* Join the [#typescript](https://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter.\r\n* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md).\r\n* Read the language specification ([docx](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true),\r\n [pdf](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.pdf?raw=true), [md](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)).\r\n\r\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see \r\nthe [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) \r\nwith any additional questions or comments.\r\n\r\n## Documentation\r\n\r\n*  [Quick tutorial](https://www.typescriptlang.org/docs/tutorial.html)\r\n*  [Programming handbook](https://www.typescriptlang.org/docs/handbook/basic-types.html)\r\n*  [Language specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)\r\n*  [Homepage](https://www.typescriptlang.org/)\r\n\r\n## Building\r\n\r\nIn order to build the TypeScript compiler, ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed.\r\n\r\nClone a copy of the repo:\r\n\r\n```bash\r\ngit clone https://github.com/Microsoft/TypeScript.git\r\n```\r\n\r\nChange to the TypeScript directory:\r\n\r\n```bash\r\ncd TypeScript\r\n```\r\n\r\nInstall Gulp tools and dev dependencies:\r\n\r\n```bash\r\nnpm install -g gulp\r\nnpm install\r\n```\r\n\r\nUse one of the following to build and test:\r\n\r\n```\r\ngulp local            # Build the compiler into built/local \r\ngulp clean            # Delete the built compiler \r\ngulp LKG              # Replace the last known good with the built one.\r\n                      # Bootstrapping step to be executed when the built compiler reaches a stable state.\r\ngulp tests            # Build the test infrastructure using the built compiler. \r\ngulp runtests         # Run tests using the built compiler and test infrastructure. \r\n                      # You can override the host or specify a test for this command. \r\n                      # Use host=<hostName> or tests=<testPath>. \r\ngulp runtests-browser # Runs the tests using the built run.js file. Syntax is gulp runtests. Optional\r\n                        parameters 'host=', 'tests=[regex], reporter=[list|spec|json|<more>]'.\r\ngulp baseline-accept  # This replaces the baseline test results with the results obtained from gulp runtests.\r\ngulp lint             # Runs tslint on the TypeScript source.\r\ngulp help             # List the above commands. \r\n```\r\n\r\n\r\n## Usage\r\n\r\n```bash\r\nnode built/local/tsc.js hello.ts\r\n```\r\n\r\n\r\n## Roadmap\r\n\r\nFor details on our planned features and future direction please refer to our [roadmap](https://github.com/Microsoft/TypeScript/wiki/Roadmap).\r\n","browser":{"fs":false,"os":false,"path":false},"engines":{"node":">=4.2.0"},"gitHead":"24fcc3f554bf32d8204128a88ff63d7a8c4b2877","scripts":{"gulp":"gulp","jake":"jake","lint":"jake lint","test":"jake runtests-parallel light=false","build":"npm run build:compiler && npm run build:tests","clean":"jake clean","start":"node lib/tsc","pretest":"jake tests","build:tests":"jake tests","setup-hooks":"node scripts/link-hooks.js","build:compiler":"jake local"},"typings":"./lib/typescript.d.ts","_npmUser":{"name":"typescript","email":"typescript@microsoft.com"},"repository":{"url":"git+https://github.com/Microsoft/TypeScript.git","type":"git"},"_npmVersion":"5.6.0","description":"TypeScript is a language for application scale JavaScript development","directories":{},"_nodeVersion":"9.4.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"q":"latest","del":"latest","chai":"latest","gulp":"3.X","jake":"latest","chalk":"latest","mocha":"latest","vinyl":"latest","merge2":"latest","mkdirp":"latest","tslint":"latest","xml2js":"^0.4.19","sorcery":"latest","ts-node":"latest","@types/q":"latest","istanbul":"latest","minimist":"latest","through2":"latest","gulp-help":"latest","@types/del":"latest","browserify":"latest","gulp-clone":"latest","gulp-newer":"latest","typescript":"^2.7","@types/chai":"latest","@types/glob":"latest","@types/gulp":"3.X","@types/node":"8.5.5","gulp-concat":"latest","gulp-insert":"latest","travis-fold":"latest","@types/mocha":"latest","run-sequence":"latest","@types/merge2":"latest","@types/mkdirp":"latest","@types/xml2js":"^0.4.0","@types/minimist":"latest","@types/through2":"latest","browser-resolve":"^1.11.2","gulp-sourcemaps":"latest","gulp-typescript":"latest","@types/gulp-help":"latest","@types/minimatch":"latest","@types/browserify":"latest","@types/gulp-newer":"latest","@types/gulp-concat":"latest","convert-source-map":"latest","source-map-support":"latest","@types/run-sequence":"latest","@types/gulp-sourcemaps":"latest","@types/convert-source-map":"latest","mocha-fivemat-progress-reporter":"latest"},"_npmOperationalInternal":{"tmp":"tmp/typescript_2.7.2-dev.20180207_1518048730386_0.17862674609605445","host":"s3://npm-registry-packages"},"publish_time":1518048731205,"_cnpm_publish_time":1518048731205,"dist-tags":{"beta":"7.1.0-beta","dev":"3.9.4","insiders":"4.6.2-insiders.20220225","latest":"7.0.2","next":"7.1.0-dev.20261123.1","rc":"7.0.1-rc","tag-for-publishing-older-releases":"4.1.6"}}