{"_id":"babel-plugin-replace-ts-export-assignment","_rev":"2654825","name":"babel-plugin-replace-ts-export-assignment","description":"Allows export assignment syntax to be used when compiling TypeScript with babel","dist-tags":{"latest":"0.0.2"},"maintainers":[{"name":"g-rath","email":"Jones258@Gmail.com"}],"time":{"modified":"2022-01-26T16:06:44.000Z","created":"2019-08-09T01:12:08.597Z","0.0.2":"2019-08-09T11:58:42.288Z","0.0.1":"2019-08-09T01:12:08.597Z"},"users":{},"author":{"name":"Gareth Jones"},"repository":{"type":"git","url":"git+https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment.git"},"versions":{"0.0.2":{"name":"babel-plugin-replace-ts-export-assignment","version":"0.0.2","description":"Allows export assignment syntax to be used when compiling TypeScript with babel","keywords":["Babel","TypeScript"],"homepage":"https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment#readme","bugs":{"url":"https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment/issues"},"repository":{"type":"git","url":"git+https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment.git"},"license":"ISC","author":{"name":"Gareth Jones"},"main":"lib/index.js","types":"lib/index.d.ts","directories":{"lib":"lib","test":"test"},"scripts":{"build":"tsc -p tsconfig.build.json","check":"tsc -p tsconfig.build.json --noEmit","lint":"npm run lint:all --silent","lint:all":"eslint \"**/*.{t,j}s\"","lint:staged":"lint-staged","test":"jest","version":"cd scripts && ts-node npm-version.ts"},"jest":{"moduleFileExtensions":["ts","tsx","js","json","jsx","node"],"moduleNameMapper":{"^@src/(.*)$":"<rootDir>/src/$1","^@test/(.*)$":"<rootDir>/test/$1"},"resetMocks":true,"restoreMocks":true,"setupFilesAfterEnv":["./test/setupExpectEachTestHasAssertions.ts"],"testRunner":"jest-circus/runner","transform":{"\\.tsx?":"ts-jest"}},"dependencies":{},"devDependencies":{"@babel/core":"^7.5.5","@babel/template":"^7.4.4","@babel/types":"^7.5.5","@babel/preset-typescript":"^7.3.3","@types/dedent":"^0.7.0","@types/jest":"^24.0.17","@types/node":"^12.7.1","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.13.0","dedent":"^0.7.0","eslint":"^6.1.0","eslint-plugin-jest":"^22.15.0","husky":"^3.0.3","jest":"^24.8.0","jest-circus":"^24.8.0","jest-junit":"^7.0.0","lint-staged":"^9.2.1","ts-jest":"^24.0.2","ts-node":"^8.3.0","typescript":"^3.5.3"},"gitHead":"8dfdca32c8aa428574b0cae341444fc5822f2dc6","_id":"babel-plugin-replace-ts-export-assignment@0.0.2","_nodeVersion":"10.15.3","_npmVersion":"6.10.3","dist":{"shasum":"927a30ba303fcf271108980a8d4f80a693e1d53f","size":2865,"noattachment":false,"key":"/babel-plugin-replace-ts-export-assignment/-/babel-plugin-replace-ts-export-assignment-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-replace-ts-export-assignment/download/babel-plugin-replace-ts-export-assignment-0.0.2.tgz"},"maintainers":[{"name":"g-rath","email":"Jones258@Gmail.com"}],"_npmUser":{"name":"g-rath","email":"Jones258@Gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-replace-ts-export-assignment_0.0.2_1565351922081_0.774725813973798"},"_hasShrinkwrap":false,"publish_time":1565351922288,"_cnpm_publish_time":1565351922288},"0.0.1":{"name":"babel-plugin-replace-ts-export-assignment","version":"0.0.1","description":"Allows export assignment syntax to be used when compiling TypeScript with babel","keywords":["Babel","TypeScript"],"homepage":"https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment#readme","bugs":{"url":"https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment/issues"},"repository":{"type":"git","url":"git+https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment.git"},"license":"ISC","author":{"name":"Gareth Jones"},"main":"lib/index.js","types":"lib/index.d.ts","directories":{"lib":"lib","test":"test"},"scripts":{"build":"tsc -p tsconfig.build.json","check":"tsc -p tsconfig.build.json --noEmit","lint":"npm run lint:all --silent","lint:all":"eslint \"**/*.{t,j}s\"","lint:staged":"lint-staged","test":"jest","version":"cd scripts && ts-node npm-version.ts"},"jest":{"moduleFileExtensions":["ts","tsx","js","json","jsx","node"],"moduleNameMapper":{"^@src/(.*)$":"<rootDir>/src/$1","^@test/(.*)$":"<rootDir>/test/$1"},"resetMocks":true,"restoreMocks":true,"setupFilesAfterEnv":["./test/setupExpectEachTestHasAssertions.ts"],"testRunner":"jest-circus/runner","transform":{"\\.tsx?":"ts-jest"}},"dependencies":{"@babel/core":"^7.5.5","@babel/template":"^7.4.4","@babel/types":"^7.5.5"},"devDependencies":{"@babel/preset-typescript":"^7.3.3","@types/dedent":"^0.7.0","@types/jest":"^24.0.17","@types/node":"^12.7.1","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.13.0","dedent":"^0.7.0","eslint":"^6.1.0","eslint-plugin-jest":"^22.15.0","husky":"^3.0.3","jest":"^24.8.0","jest-circus":"^24.8.0","jest-junit":"^7.0.0","lint-staged":"^9.2.1","ts-jest":"^24.0.2","ts-node":"^8.3.0","typescript":"^3.5.3"},"gitHead":"a3f45a7c7ef6e5619deb77e95be79a0ddb5c1cb9","_id":"babel-plugin-replace-ts-export-assignment@0.0.1","_nodeVersion":"10.15.3","_npmVersion":"6.10.3","dist":{"shasum":"78305d7e15fe1cbfff7bbbfdf7f0cf92f21a15d6","size":2826,"noattachment":false,"key":"/babel-plugin-replace-ts-export-assignment/-/babel-plugin-replace-ts-export-assignment-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-replace-ts-export-assignment/download/babel-plugin-replace-ts-export-assignment-0.0.1.tgz"},"maintainers":[{"name":"g-rath","email":"Jones258@Gmail.com"}],"_npmUser":{"name":"g-rath","email":"Jones258@Gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-replace-ts-export-assignment_0.0.1_1565313128450_0.7227168643112236"},"_hasShrinkwrap":false,"publish_time":1565313128597,"_cnpm_publish_time":1565313128597}},"readme":"# babel-plugin-replace-ts-export-assignment\n\nAllows [export assignment](https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require) syntax to be used \nwhen compiling TypeScript with `@babel/preset-typescript`.\n\nThis works by simply replacing `export =` with `module.exports`, to keep CJS semantics.\n\n## Contributing\n\nThe most important thing when contributing is to make sure to add information about changes to the `CHANGELOG.md`,\nideally before publishing a new version. If you're not confident doing this, just ensure you provide primary maintainers\nas much information as possible, particular about any special rules or gotchas that are a result of your change.\n\n#### Linting\n\nTo run `eslint` on the project, run:\n\n```\nnpm run lint\n```\n\n#### Testing\n\nTo run `jest` on the project, run:\n\n```\nnpm run test\n```\n\n#### Checking\n\nTo check that the project is type safe, run:\n\n```\nnpm run check\n```\n\n#### Building\n\nTo compile the project using `TypeScript`, run:\n\n```\nnpm run build\n```\n\n#### Changelog\n\nThis package uses a `CHANGELOG.md` to track, note, and describe changes to its surface.\n\nAll documentable changes should be, being placed under the appropriate header in the `CHANGELOG`.\n\nNote that the `CHANGELOG` is *not* fixed - it's perfectly reasonable to edit it after the fact, for whatever reason.\n\nThe version headers of the `CHANGELOG` are automated by an `npm-version` script, located in the `scripts` folder,\nWhen run, the script will insert a new version header below the `[Unreleased]` header.\n\nThe version header is enclosed in a link, linking to the comparing page for the repo\n(to allow users to easily bring up a full git comparision between the new & previous versions of the package),\n and has the date of the release at the end.\n\n#### Tagging, Versioning, & Publishing\n\nWe use [SemVer](http://semver.org/) for versioning.\n\nTags should match the release versions, with a prefixing `v`\n\nBoth publishing & versioning should be done using `npm`, which'll also handle tags.\n\nTo publish a new version of this package, use `npm publish`.\n\nThere is an `npm-version` script located in the `scripts` folder of the repo,\nthat handles keeping the `CHANGELOG` headers in sync with new package versions.\n","_attachments":{},"homepage":"https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment#readme","bugs":{"url":"https://github.com/G-Rath/babel-plugin-replace-ts-export-assignment/issues"},"license":"ISC"}