Skip to content

Commit

Permalink
fixed to run via npx create-liveview-app@latest
Browse files Browse the repository at this point in the history
  • Loading branch information
floodfx committed Mar 13, 2022
1 parent 152b8f3 commit cdb857c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
9 changes: 6 additions & 3 deletions packages/create-liveviewjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-liveview-app",
"version": "0.0.1",
"version": "0.0.4",
"description": "Command line interface to easily create a new LiveViewJS app",
"homepage": "https://liveviewjs.com",
"license": "MIT",
Expand All @@ -12,8 +12,11 @@
"bugs": {
"url": "https://github.com/floodfx/liveviewjs/issues"
},
"main": "dist/cli.js",
"types": "dist/cli.d.ts",
"main": "./dist/cli.js",
"bin": {
"create-liveview-app": "./dist/cli.js"
},
"types": "./dist/cli.d.ts",
"files": [
"dist/*.js",
"dist/templates/**/*"
Expand Down
2 changes: 2 additions & 0 deletions packages/create-liveviewjs/src/create/cli.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

import inquirer from "inquirer";
import meow from "meow";
import * as path from "path";
Expand Down
35 changes: 14 additions & 21 deletions packages/create-liveviewjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"esModuleInterop": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"strictPropertyInitialization": false,
"lib": ["es5"],
"declaration": true,
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
"noEmitOnError": true,

"skipLibCheck": true,
"target": "es2019",
"lib": ["es2019"],
"types": ["node"],

"outDir": "./dist",
"baseUrl": ".",
"baseUrl": "."
},
"include": [
"src/create/**/*",
"src/foo/**/*"
],
"exclude": [
"dist",
"node_modules",
"**/*.test.ts"
]
}
"include": ["src/create/**/*", "src/foo/**/*"],
"exclude": ["dist", "node_modules", "**/*.test.ts"]
}

0 comments on commit cdb857c

Please sign in to comment.