Skip to content

Commit

Permalink
fixed cli node environment (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonsubin authored Oct 30, 2020
1 parent 7b72501 commit 46e74d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "glitch-deploy-tool",
"version": "0.0.1-alpha",
"version": "0.0.2-alpha",
"description": "CLI tool for deploying files to Glitch.com",
"keywords": [
"glitch.com",
Expand Down Expand Up @@ -38,7 +38,7 @@
"build": "rimraf ./lib && tsc --project tsconfig.json",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"test": "NODE_ENV=test jest --setupFiles dotenv/config --verbose --coverage && eslint '*/**/*.{js,ts,tsx}'",
"cli": "NODE_ENV=development ts-node -r dotenv/config src/cli/index.ts"
"cli": "NODE_ENV=development ts-node -r dotenv/config scripts/run.ts"
},
"engines": {
"node": ">=12.x"
Expand Down
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ts-node
#!/usr/bin/env node

/**
* everything in the cli folder should be isolated from the reset of the code.
Expand Down

0 comments on commit 46e74d8

Please sign in to comment.