浏览代码

[feat] Add cypress command

Sergio Mattei 2 年前
父节点
当前提交
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": [