Skip to content

Commit 08fff4a

Browse files
committed
Fix publishing
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
1 parent 91c8770 commit 08fff4a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"node": ">=12"
1212
},
1313
"scripts": {
14-
"build": "tsc --build --clean",
14+
"build": "del-cli dist && tsc",
1515
"test": "xo && ava",
1616
"bench": "node --loader=ts-node/esm bench.ts",
17-
"prepublishOnly": "tsc --build --clean"
17+
"prepublishOnly": "del-cli dist && tsc"
1818
},
1919
"files": [
2020
"dist"
@@ -52,6 +52,7 @@
5252
"@types/node": "^17.0.13",
5353
"ava": "^5.1.1",
5454
"benchmark": "^2.1.4",
55+
"del-cli": "^5.0.0",
5556
"delay": "^5.0.0",
5657
"in-range": "^3.0.0",
5758
"p-defer": "^4.0.0",
@@ -79,4 +80,4 @@
7980
"@typescript-eslint/no-invalid-void-type": "off"
8081
}
8182
}
82-
}
83+
}

0 commit comments

Comments
 (0)