Skip to content

Commit

Permalink
tweak project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinjiang committed Mar 1, 2024
1 parent c5bf4c8 commit 65a858e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 0 additions & 1 deletion index.html

This file was deleted.

14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"allowSyntheticDefaultImports": true,
"declaration": true,
"strict": true
},
"include": ["src/**/*"],
Expand Down

0 comments on commit 65a858e

Please sign in to comment.