Skip to content

Commit

Permalink
Add main module browser fields
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Sep 16, 2021
1 parent 2f5a695 commit 70de68d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src
node_modules
.gitignore
pnpm-lock.yaml
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
"name": "mini-vdom",
"version": "0.0.1",
"description": "",
"main": "index.js",
"name": "tiny-vdom",
"version": "0.0.0",
"description": "🤏 Smallest possible virtual DOM implementation",
"main": "dist/vdom.js",
"module": "dist/vdom.js",
"browser": "dist/vdom.js",
"scripts": {
"build": "esbuild src/vdom.ts --minify --outfile=dist/vdom.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aidenybai/mini-vdom.git"
"url": "git+https://github.com/aidenybai/tiny-vdom.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/aidenybai/mini-vdom/issues"
"url": "https://github.com/aidenybai/tiny-vdom/issues"
},
"homepage": "https://github.com/aidenybai/mini-vdom#readme",
"homepage": "https://github.com/aidenybai/tiny-vdom#readme",
"devDependencies": {
"esbuild": "^0.12.28",
"vite": "^2.5.7"
"esbuild": "^0.12.28"
}
}

0 comments on commit 70de68d

Please sign in to comment.