{"name":"espower-typescript","description":"power-assert instrumentor for TypeScript","version":"9.0.0-beta.0","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"publishConfig":{"tag":"next"},"engines":{"node":">=6"},"main":"index.js","files":["*.js"],"scripts":{"demo":"mocha --require './guess' test/demo.ts","lint":"eslint *.js","test":"run-s lint test:*","test:allow-js":"cd test/test-allow-js && mocha --require ../../guess test/*_test.js","test:outdir":"cd test/test-outdir && mocha --require ../../guess test/*_test.ts","test:ts":"mocha --require './guess' test/*_test.ts","test:tsx":"mocha --require './guess' test/*_test.tsx"},"dependencies":{"espower-source":"^2.3.0","minimatch":"^3.0.3","ts-node":"^7.0.0"},"devDependencies":{"@types/mocha":"^5.2.3","@types/node":"^10.3.5","@types/react":"^16.4.1","eslint":"^5.0.0","eslint-config-teppeis":"^7.0.0","mocha":"^5.2.0","npm-run-all":"^4.1.3","power-assert":"^1.6.0","prettier":"1.13.5","react":"^16.4.1","typescript":"^2.9.2"},"peerDependencies":{"typescript":">= 2.4.2"},"homepage":"https://github.com/power-assert-js/espower-typescript","repository":{"type":"git","url":"git+https://github.com/power-assert-js/espower-typescript.git"},"bugs":{"url":"https://github.com/power-assert-js/espower-typescript/issues"},"keywords":["power-assert","typescript"],"license":"MIT","readme":"# espower-typescript\n\n> power-assert instrumentor for TypeScript\n\n[![npm version][npm-image]][npm-url]\n![Node.js Version Support][node-version]\n[![build status][travis-image]][travis-url]\n[![Dependency Status][deps-image]][deps-url]\n![License][license]\n\n## TypeScript versions\n\nespower-typescript v9.x is compatible with TypeScript v2.4+\n\n## Usage\n\nNOTE: If you use older version than v9, see older document.\n\n### Install\n\n```console\n$ npm install -D espower-typescript power-assert mocha typescript @types/node @types/mocha\n```\n\n### Zero-config mode\n\n```typescript\n// test/test.ts\nimport assert = require('assert');\n\ndescribe('Array#join', () => {\n  it('joins all elements into a string with separator', () => {\n    assert(['a', 'b', 'c'].join(':') === 'a:b:c');\n  });\n});\n```\n\n```console\n$ ./node_modules/.bin/mocha --require espower-typescript/guess \"test/**/*.ts\"\n```\n\n### If your tests are not in `test` directory\n\nYou can set test directory in your `package.json`\n\n```json\n{\n    \"name\": \"your-module\",\n    \"description\": \"Your module\",\n    \"version\": \"0.0.1\",\n    \"directories\": {\n        \"test\": \"spec/\"\n    },\n...\n}\n```\n\nThen, run mocha with `--require espower-typescript/guess`\n\n```console\n$ ./node_modules/.bin/mocha --require espower-typescript/guess \"spec/**/*.ts\"\n```\n\nNote: `'espower-typescript/guess'` is inspired by [intelli-espower-loader](https://github.com/azu/intelli-espower-loader)\n\n### ts-node and `tsconfig.json`\n\nespower-typescript uses [ts-node](https://github.com/TypeStrong/ts-node) internally.\nIt loads your [tsconfig.json](https://github.com/Microsoft/TypeScript/wiki/tsconfig.json) automatically.\n\n### JSX/React\n\n`.tsx` files are supported.\n\n### `allowJs`\n\nIf `allowJs: true` in your `tsconfig.json`, assertions in `test/**/*.(js|jsx)` are empowered.\n\n## License\n\n- MIT License: Teppei Sato &lt;teppeis@gmail.com&gt;\n- Includes [yosuke-furukawa/espower-traceur](https://github.com/yosuke-furukawa/espower-traceur)\n- Includes [azu/espower-babel](https://github.com/azu/espower-babel)\n\n[npm-image]: https://img.shields.io/npm/v/espower-typescript.svg\n[npm-url]: https://npmjs.org/package/espower-typescript\n[travis-image]: https://travis-ci.org/power-assert-js/espower-typescript.svg?branch=master\n[travis-url]: https://travis-ci.org/power-assert-js/espower-typescript\n[deps-image]: https://david-dm.org/power-assert-js/espower-typescript.svg\n[deps-url]: https://david-dm.org/power-assert-js/espower-typescript\n[node-version]: https://img.shields.io/badge/Node.js%20support-v6,v8,v10-brightgreen.svg\n[license]: https://img.shields.io/npm/l/espower-typescript.svg\n","readmeFilename":"README.md","gitHead":"063720e1042a1d45172577cf7afc46124e80af99","_id":"espower-typescript@9.0.0-beta.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"dist":{"integrity":"sha512-ibglQKBrsHu30tq4gS9qFowWFWJ8QWWSE6dAdRlbik80PUdjT4DbPcihe4q8NGEvNJ0R8qNJuFWeBo5QAuGMaQ==","shasum":"27bccb84a0e36b068ec13fd9a7a96a13ebb60492","tarball":"http://registry-npm.ywwl.com/espower-typescript/download/espower-typescript-9.0.0-beta.0.tgz","fileCount":4,"unpackedSize":6479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbL96hCRA9TVsSAnZWagAAixQQAI6WshmxYbXA9yvBwm0I\nE+LFI4o/5ZPTYXgau/gbp1e8PZheJYHQVrkGMZd7B8ZN2quVBwKuyK7/0W9w\no4FuqNzylT6DKJKz6ZjpoF+9sqSOAlgG/+nAp1ZNVVXx1BnRgMYH3dF5Ua4t\nvr4j9mTnX52N0hdWPJVo6eqs6LUvfhz5ht3839GbSD3rRJ3OmF1FHd4fGgtV\nTsPdo5CXNQnRSLj1/qGXmvL4RqtgXoVPU0tvQztO2aGZyYpqgTCgErDr+35F\nVOzxonA10JMxw6qHvETw7bbVjJaiAoTQ13u5wOgWCRg5LM7eGPG3cdhfQYwr\n37W76veGpLvlwH9po46/nBRCEmydbHf0EW97X5Lc9lGj2b7kThBQFnYfdIOS\ntmUfDE8IqW+U6i5+0RX3l1JRW7BCMkypR5TAPBvnRXae1iOiKlxMwDr3Q7N9\nqxNilxmfLAhX0N8ExEZ+91PKrzFfaao8IuWLo9eXwSfMeJ9/37fqHChi+aD0\nEkFhKmeitPEi8Xe3gH3C3oFREcXE/kpjPwBQK6qc7rrQ60iK3dj+qknQ0m8T\n8jdNAGV2zxWkjl24Y9V8fye9KgqtgDPQHmm/tqXBQHp9C9vkBB2W/1kJwMzD\nLA1RWh/LRFYChQ/ljGoW/tVuycdtiUnWLS//tdoGBp/oTga02Uie437t13si\nbq79\r\n=o4As\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjVjHG7MQu3QXZ7qUUy4B8mlkPHfH1aJ2IPE1gFd4LZQIgUwlYohdqi6lg4mRvUA3iUsUgHwaaic24KNZHI8/agBA="}],"size":2498,"noattachment":false,"key":"/espower-typescript/-/espower-typescript-9.0.0-beta.0.tgz"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"},{"name":"twada","email":"takuto.wada@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/espower-typescript_9.0.0-beta.0_1529863841821_0.6343410289001923"},"_hasShrinkwrap":false,"publish_time":1529863841899,"_cnpm_publish_time":1529863841899,"dist-tags":{"latest":"10.0.1","next":"9.0.0-beta.0"}}