Added support for replit
This commit is contained in:
parent
5a900410c4
commit
294325650a
3 changed files with 20 additions and 2 deletions
13
.replit
13
.replit
|
@ -1,2 +1,13 @@
|
|||
run = "npm install; npm run serve"
|
||||
|
||||
[packager]
|
||||
language = "nodejs"
|
||||
run = "npm run serve"
|
||||
[packager.features]
|
||||
packageSearch = true
|
||||
guessImports = false
|
||||
|
||||
[languages.javascript]
|
||||
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
|
||||
|
||||
[languages.javascript.languageServer]
|
||||
start = [ "typescript-language-server", "--stdio" ]
|
||||
|
|
|
@ -57,6 +57,6 @@
|
|||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": "14.x"
|
||||
"node": "16.x"
|
||||
}
|
||||
}
|
||||
|
|
7
replit.nix
Normal file
7
replit.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs }: {
|
||||
deps = [
|
||||
pkgs.nodejs-16_x
|
||||
pkgs.nodePackages.typescript-language-server
|
||||
pkgs.nodePackages.npm
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue