Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
3eb29c729e | |||
cadc2cd629 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gitzone/tsrun",
|
||||
"version": "1.1.15",
|
||||
"version": "1.1.16",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gitzone/tsrun",
|
||||
"version": "1.1.15",
|
||||
"version": "1.1.16",
|
||||
"description": "run typescript programs efficiently",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
|
10
readme.md
10
readme.md
@ -25,6 +25,16 @@ run typescript programs efficiently
|
||||
|
||||
Use TypeScript for best in class instellisense.
|
||||
|
||||
To simply run a TypeScript file on the fly type
|
||||
|
||||
```typescript
|
||||
tsrun myfiletorun.ts
|
||||
```
|
||||
|
||||
There are two options available:
|
||||
* `--nocache` will disable any caching. Caching speeds up execution, but causes problems in read only environments (e.g. sometimes docker containers are readonly)
|
||||
* `--web` will inject browser types. this is useful when testing code with polyfills on node, but that is meant for the browser later on.
|
||||
|
||||
For further information read the linked docs at the top of this README.
|
||||
|
||||
> licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||
|
Reference in New Issue
Block a user