Added support for replit

This commit is contained in:
thepaperpilot 2022-03-01 20:41:28 -06:00
parent 5a900410c4
commit 294325650a
3 changed files with 20 additions and 2 deletions

13
.replit
View file

@ -1,2 +1,13 @@
run = "npm install; npm run serve"
[packager]
language = "nodejs" 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" ]

View file

@ -57,6 +57,6 @@
] ]
}, },
"engines": { "engines": {
"node": "14.x" "node": "16.x"
} }
} }

7
replit.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs }: {
deps = [
pkgs.nodejs-16_x
pkgs.nodePackages.typescript-language-server
pkgs.nodePackages.npm
];
}