diff --git a/index.html b/index.html deleted file mode 100644 index 2bf6065..0000000 --- a/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/package.json b/package.json index bdfe28c..ba7b1a5 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,20 @@ "vlite": "bin/vlite.js" }, "main": "lib/index.js", + "files": [ + "tsconfig.json", + "bin/*", + "lib/*", + "README.md", + "LICENSE" + ], "scripts": { "dev": "tsc --watch", - "demo": "DEBUG=1 vlite ./examples/vue", - "demo:react": "DEBUG=1 vlite ./examples/react", + "demo": "DEBUG=1 node ./bin/vlite.js ./examples/vue", + "demo:react": "DEBUG=1 node ./bin/vlite.js ./examples/react", + "run": "DEBUG=1 node ./bin/vlite.js", + "run:version": "DEBUG=1 node ./bin/vlite.js --version", + "run:help": "DEBUG=1 node ./bin/vlite.js --help", "build": "tsc" }, "keywords": ["vite", "lite", "server", "static", "demo", "vue", "react", "typescript", "css"], diff --git a/tsconfig.json b/tsconfig.json index 31ac6e3..e15d306 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "module": "NodeNext", "moduleResolution": "NodeNext", "allowSyntheticDefaultImports": true, + "declaration": true, "strict": true }, "include": ["src/**/*"],