
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@taskr/typescript
Advanced tools
Compile Typescript with Taskr.
$ npm install --save-dev @taskr/typescript
exports.scripts = function * (task) {
yield task.source('src/**/*.ts').typescript({
jsx: 'React',
target: 'ES5',
sourceMap: true,
removeComments: true
}).target('dist/js');
}
Unlike most plugins, this plugin provides access to all of Typescript's Transpile options. However, for the sake of simplicity, this plugin flattens all compilerOptions keys into the same object. In other words, we assume that you're providing compilerOptions, unless the given key matches the name of another TranspileOption.
Check out Typescript's Compile Options to see all Compiler options.
For example:
task.source('...').typescript({
moduleName: 'FooBar',
compilerOptions: {
module: 'System',
sourceMap: true
}
}).target('...');
// can be written as:
task.source('...').typescript({
moduleName: 'FooBar',
module: 'System',
sourceMap: true
}).target('...');
Notice that compilerOptions is no longer defined, and instead, its children (module, sourceMap, etc) are defined alongside moduleName!
Note: The first example (aka, using
compilerOptions) will still work.
Any issues or questions can be sent to the Taskr monorepo.
Please be sure to specify that you are using @taskr/typescript.
MIT © Luke Edwards
FAQs
Compile Typescript with Taskr.
We found that @taskr/typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.