From b7e0c915ed3728770246227f59fdaeb2f7917b1b Mon Sep 17 00:00:00 2001 From: Bryan Date: Sat, 8 Jun 2024 13:32:52 +0800 Subject: [PATCH] update scripts --- package.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 146e667..3d8abfc 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,9 @@ "description": "Cloudflare worker TypeScript template", "main": "index.js", "scripts": { - "dev": "NODE_ENV=development npm run build", - "build": "webpack", - "format": "prettier --write '**/*.{ts,js,css,json,md}'", - "test:clean": "rimraf ./transpiled/src ./transpiled/test", - "test": "npm run test:clean && npm run transpile && mocha --require source-map-support/register --recursive transpiled/test", - "transpile": "tsc --project ./test" + "dev": "npx wrangler dev", + "deploy": "npx wrangler deploy", + "format": "prettier --write '**/*.{ts,js,css,json,md}'" }, "author": "author", "license": "MIT OR Apache-2.0",