Skip to content

Commit 2e16d51

Browse files
committed
Add typescript as a dependency
To fix installation with npm@6 which doesn’t install peer dependencies like npm@7.
1 parent bee3ad3 commit 2e16d51

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@
4343
"hint",
4444
"simple"
4545
],
46+
"dependencies": {
47+
"typescript": ">=4"
48+
},
4649
"devDependencies": {
4750
"@typescript-eslint/eslint-plugin": "^4.21.0",
4851
"@typescript-eslint/parser": "^4.22.1",
4952
"ava": "^2.4.0",
5053
"eslint": "^7.8.1",
51-
"temp-write": "^4.0.0",
52-
"typescript": "^4.1.3"
54+
"temp-write": "^4.0.0"
5355
},
5456
"peerDependencies": {
5557
"@typescript-eslint/eslint-plugin": ">=4.22.1",

0 commit comments

Comments
 (0)