diff --git a/package.json b/package.json index 1e117ae..107dd7b 100644 --- a/package.json +++ b/package.json @@ -12,12 +12,12 @@ "main": "dist/index.js", "scripts": { "build": "export TARO_BUILD_TYPE=ui && taro build --ui", - "dev:alipay": "npm run build:alipay -- --watch", - "dev:h5": "npm run build:h5 -- --watch", - "dev:rn": "npm run build:rn -- --watch", - "dev:swan": "npm run build:swan -- --watch", - "dev:tt": "npm run build:tt -- --watch", - "dev:weapp": "npm run build:weapp -- --watch", + "dev:alipay": "taro build --type alipay --watch", + "dev:h5": "taro build --type h5 --watch", + "dev:rn": "taro build --type rn --watch", + "dev:swan": "taro build --type swan --watch", + "dev:tt": "taro build --type tt --watch", + "dev:weapp": "taro build --type weapp --watch", "update:project": "taro update project", "test": "jest", "lint": "eslint ."