瀏覽代碼

[feat] Add cypress command

Sergio Mattei 1 年之前
父節點
當前提交
46b3710a27
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      package.json

+ 2
- 1
package.json 查看文件

@@ -52,7 +52,8 @@
52 52
     "build": "react-scripts build",
53 53
     "test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!(@ionic/react|@ionic/react-router|@ionic/core|@stencil/core|ionicons)/)'",
54 54
     "eject": "react-scripts eject",
55
-    "prepare": "husky install"
55
+    "prepare": "husky install",
56
+    "cypress": "cypress open"
56 57
   },
57 58
   "eslintConfig": {
58 59
     "extends": [