Skip to content

Commit 7f5e9cc

Browse files
committed
feat: once method, close #24
1 parent ff7ab97 commit 7f5e9cc

File tree

4 files changed

+897
-1380
lines changed

4 files changed

+897
-1380
lines changed

package.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lite-emit",
33
"version": "2.1.0",
4-
"packageManager": "pnpm@7.32.5",
4+
"packageManager": "pnpm@8.6.0",
55
"author": "Ray <i@mk1.io> (@so1ve)",
66
"description": "A simple, lightweight, and fast event emitter.",
77
"keywords": [
@@ -53,28 +53,22 @@
5353
"dist"
5454
],
5555
"scripts": {
56-
"build": "rimraf dist && puild",
56+
"build": "rimraf dist && pkgroll",
5757
"lint": "eslint .",
5858
"lint:fix": "eslint . --fix",
5959
"prepublishOnly": "nr build",
6060
"release": "bumpp --commit --push --tag && pnpm publish",
61-
"start": "tsx src/index.ts",
6261
"test": "vitest",
6362
"typecheck": "tsc --noEmit",
64-
"watch": "puild --watch"
63+
"watch": "pkgroll --watch"
6564
},
6665
"devDependencies": {
6766
"@antfu/ni": "^0.21.3",
68-
"@babel/types": "^7.21.4",
6967
"@so1ve/eslint-config": "^0.97.0",
7068
"@types/node": "^18.15.11",
7169
"bumpp": "^9.1.0",
7270
"eslint": "^8.38.0",
73-
"jiti": "^1.18.2",
74-
"pnpm": "^7.32.0",
75-
"puild": "^1.3.2",
76-
"rimraf": "^5.0.0",
77-
"tsx": "^3.12.6",
71+
"pkgroll": "^1.10.0",
7872
"typescript": "^5.0.4",
7973
"vite": "^4.2.1",
8074
"vitest": "^0.31.0"

0 commit comments

Comments
 (0)