Skip to content

Commit

Permalink
Switch from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Jun 9, 2023
1 parent 9ad1346 commit 804b269
Show file tree
Hide file tree
Showing 5 changed files with 4,125 additions and 2,560 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Build JS and CSS resources
run: |
cd js
yarn
yarn build
npm install
npm run build
- name: Build Python package
run: |
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,17 @@ Then, install the dependencies:

```bash
cd js
yarn
npm i
```

To build the component:

```bash
yarn build
npm run build
```

To watch for changes and rebuild automatically:

```bash
npm run build -- --watch
```
Loading

0 comments on commit 804b269

Please sign in to comment.