Skip to content

Commit

Permalink
fix(cli): add env node
Browse files Browse the repository at this point in the history
  • Loading branch information
Adkimsm committed Aug 18, 2022
1 parent b2c0ddf commit 0f4ed29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"name": "create-scadies",
"version": "1.0.2",
"version": "1.0.3",
"description": "A CLI Helper to Create a Scadies Blog.",
"main": "./src/scadies.js",
"author": "Kysolva GmbH.",
"license": "MIT",
"private": false,
"bin": {
"create-scadies": "./dist/index.js"
},
"scripts": {
"build": "ncc build ./src/scadies.js -o dist"
"create-scadies": "./src/scadies.js"
},
"dependencies": {
"cac": "^6.7.12",
Expand All @@ -19,8 +16,5 @@
"node-copydir": "1.0.0",
"prompts": "^2.4.2",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@vercel/ncc": "^0.34.0"
}
}
2 changes: 2 additions & 0 deletions packages/cli/src/scadies.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

const chalk = require('chalk')
const cli = require('cac')()
const prompts = require('prompts')
Expand Down

0 comments on commit 0f4ed29

Please sign in to comment.