mirror of
https://github.com/penpot/penpot-docs.git
synced 2024-07-06 05:41:47 +00:00
✨ Use yarn instead of npm
This commit is contained in:
parent
848200694a
commit
1f08308be6
|
@ -8,13 +8,15 @@ To view this site locally, first set up the environment:
|
|||
```
|
||||
nvm install (if necessary)
|
||||
nvm use
|
||||
npm install
|
||||
npm install -g yarn (if necessary)
|
||||
|
||||
yarn
|
||||
```
|
||||
|
||||
And launch a development server:
|
||||
|
||||
```
|
||||
npm start
|
||||
yarn run start
|
||||
```
|
||||
|
||||
You can then point a browser to [http://localhost:8080](http://localhost:8080).
|
||||
|
|
3495
package-lock.json
generated
3495
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -4,5 +4,5 @@ source ~/.bashrc
|
|||
|
||||
set -ex
|
||||
rm -rf ./_dist
|
||||
npm install
|
||||
npm run build
|
||||
yarn
|
||||
yarn run build
|
||||
|
|
Loading…
Reference in New Issue
Block a user