Skip to content

Commit 6d7d31c

Browse files
committed
clean step
1 parent 74024e5 commit 6d7d31c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
"url": "https://github.com/sponsors/dmonad"
1313
},
1414
"scripts": {
15-
"dist": "rm -rf dist && rollup -c && tsc --skipLibCheck",
15+
"clean": "rm -rf dist",
16+
"dist": "npm run clean && rollup -c && tsc --skipLibCheck",
1617
"lint": "standard && tsc",
1718
"test": "npm run lint",
18-
"preversion": "npm run lint && npm run dist && test -e dist/src/y-websocket.d.ts && test -e dist/y-websocket.cjs"
19+
"preversion": "npm run dist && test -e dist/src/y-websocket.d.ts && test -e dist/y-websocket.cjs"
1920
},
2021
"files": [
2122
"dist/*",

0 commit comments

Comments
 (0)