feat: install ts-node in prod

This commit is contained in:
Vyacheslav Matyukhin 2022-03-27 01:53:54 +03:00
parent e26f5aa9c6
commit 8c6844e42d
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -17,8 +17,8 @@
}, },
"homepage": "https://github.com/QURIresearch/metaforecast#readme", "homepage": "https://github.com/QURIresearch/metaforecast#readme",
"scripts": { "scripts": {
"cli": "ts-node src/backend/index.ts", "cli": "ts-node -T src/backend/index.ts",
"reload": "heroku run:detached node src/backend/utils/doEverythingForScheduler.js", "reload": "heroku run:detached ts-node -T src/backend/utils/doEverythingForScheduler.js",
"setCookies": "./src/backend/utils/setCookies.sh", "setCookies": "./src/backend/utils/setCookies.sh",
"next-dev": "next dev", "next-dev": "next dev",
"next-build": "next build", "next-build": "next build",
@ -76,12 +76,12 @@
"tabletojson": "^2.0.4", "tabletojson": "^2.0.4",
"tailwindcss": "^3.0.22", "tailwindcss": "^3.0.22",
"textversionjs": "^1.1.3", "textversionjs": "^1.1.3",
"ts-node": "^10.7.0",
"tunnel": "^0.0.6" "tunnel": "^0.0.6"
}, },
"devDependencies": { "devDependencies": {
"@netlify/plugin-nextjs": "^4.2.4", "@netlify/plugin-nextjs": "^4.2.4",
"@svgr/cli": "^6.2.1", "@svgr/cli": "^6.2.1",
"netlify-cli": "^9.13.4", "netlify-cli": "^9.13.4"
"ts-node": "^10.7.0"
} }
} }