Add node version

This commit is contained in:
Pieter Vander Vennet 2023-01-14 03:26:57 +01:00
parent 48cf429499
commit bef7fd95ce
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
config/ config/
cache/ cache/
node_modules/ node_modules/
.idea/

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
v16.17.1

View file

@ -16,7 +16,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"lint": "tslint --project ./tsconfig.json -t stylish", "lint": "tslint --project ./tsconfig.json -t stylish",
"start": "ts-node src/index.ts", "start": "nvm use && ts-node src/index.ts",
"test": "doctest-ts-improved src/ && mocha --require ts-node/register \"./**/*.doctest.ts\" && (find . -type f -name \"*.doctest.ts\" | xargs rm)" "test": "doctest-ts-improved src/ && mocha --require ts-node/register \"./**/*.doctest.ts\" && (find . -type f -name \"*.doctest.ts\" | xargs rm)"
}, },
"dependencies": { "dependencies": {