Add node version
This commit is contained in:
parent
48cf429499
commit
bef7fd95ce
3 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
config/
|
||||
cache/
|
||||
node_modules/
|
||||
.idea/
|
||||
|
|
1
.nvmrc
Normal file
1
.nvmrc
Normal file
|
@ -0,0 +1 @@
|
|||
v16.17.1
|
|
@ -16,7 +16,7 @@
|
|||
"scripts": {
|
||||
"build": "tsc",
|
||||
"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)"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue