Skip to content

Commit 6bf45f1

Browse files
author
roman.vasilev
committed
build: ttypescript
1 parent ca075c1 commit 6bf45f1

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

Taskfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ prebuild() {
1010

1111
build() {
1212
cd dist
13+
rm example.ts
1314
tsc -p .
1415
rm tsconfig.json
1516
cd ..

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"commit": "git-cz"
4141
},
4242
"peerDependencies": {
43-
"typescript": ">=3.2"
43+
"typescript": ">=2.9"
4444
},
4545
"devDependencies": {
4646
"@semantic-release/changelog": "^3.0.2",
@@ -76,6 +76,7 @@
7676
"tslint-clean-code": "^0.2.9",
7777
"tslint-microsoft-contrib": "^6.2.0",
7878
"tslint-sonarts": "^1.9.0",
79+
"ttypescript": "^1.5.7",
7980
"type-coverage": "^2.0.2",
8081
"typescript": "~3.4.5",
8182
"watchexec-bin": "^1.0.0",

tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"skipLibCheck": true,
1818
"lib": [
1919
"esnext"
20+
],
21+
"plugins": [
22+
{
23+
"transform": "./src/index.ts"
24+
}
2025
]
2126
},
2227
"include": [

tt_tsconfig.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)