Skip to content

Commit

Permalink
feat(): update script and point main towards dist
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenVelocity committed Nov 14, 2021
1 parent 29910fd commit 4908b1c
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
"name": "kalidokit",
"version": "1.0.5",
"repository": "github:yeemachine/kalidokit",
"main": "src/index.js",
"types": "./index.d.ts",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite docs --host",
"build": "npm run build:lib && vite build",
"dev": "vite docs",
"prebuild": "rm -rf dist lib",
"build": "vite build && npm run build:lib",
"build:lib": "tsc -p .",
"serve": "vite"
"serve": "vite",
"prepare": "npm run build"
},
"devDependencies": {
"typescript": "^4.4.4",
Expand Down Expand Up @@ -36,5 +41,8 @@
],
"author": "yeemachine",
"license": "MIT",
"year": "2020-2021"
"year": "2020-2021",
"dependencies": {
"rollup-plugin-friendly-type-imports": "^1.0.1"
}
}

0 comments on commit 4908b1c

Please sign in to comment.