From 152f0b7c51e68b5fecaec1d3590437cb9f4028f1 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 28 Sep 2019 17:21:12 +0200 Subject: [PATCH] npm scripts --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0e6c884..4c41667 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,11 @@ "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { - "prepublishOnly": "tsc", + "prepublishOnly": "rm -rf ./dist && tsc", + "examples": "parcel -d public ./examples/index.html", "test": "parcel -d public ./test/index.html", - "build": "tsc -w", + "build": "tsc", + "watch": "tsc -w", "dev": "pnpm run build & pnpm run test" }, "browserslist": [