@startinblox/core 2.0.0-beta.9 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,10 +13,10 @@ To start developing in `sib-core`, you need:
13
13
  npm install
14
14
 
15
15
  # 2. Build the framework
16
- npm run build:dev
16
+ npm run build
17
17
 
18
- # 3. Launch a web server
19
- npm run serve
18
+ # 3. Build and watch together
19
+ npm run dev
20
20
  ```
21
21
 
22
22
  You can now see examples at [http://127.0.0.1:3000](http://127.0.0.1:3000/).
@@ -26,17 +26,23 @@ To develop new features for `sib-core`, you can add an HTML example file in `/ex
26
26
  Don't forget to import the framework:
27
27
 
28
28
  ```html
29
- <script type="module" src="../dist/index.js"></script>
29
+ <script type="module" src="../src/index.ts"></script>
30
30
  ```
31
31
  You can now write HTML using `sib-core` and test it in your browser.
32
32
 
33
33
 
34
34
  ## Testing
35
+
35
36
  You can test the API by running:
36
37
  ```shell
37
38
  npm run test
38
39
  ```
39
40
 
41
+ Or alternatively, you can select the tests you would like to run by using the Cypress UI:
42
+ ```shell
43
+ npm run cypress:open
44
+ ```
45
+
40
46
  # Mixin API
41
47
  ## How it works
42
48
  Here is a simplified schema of how the API works to create a component: