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
|
@ -6,15 +6,17 @@ Penpot documentation website
|
||||||
To view this site locally, first set up the environment:
|
To view this site locally, first set up the environment:
|
||||||
|
|
||||||
```
|
```
|
||||||
nvm install (if necessary)
|
nvm install (if necessary)
|
||||||
nvm use
|
nvm use
|
||||||
npm install
|
npm install -g yarn (if necessary)
|
||||||
|
|
||||||
|
yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
And launch a development server:
|
And launch a development server:
|
||||||
|
|
||||||
```
|
```
|
||||||
npm start
|
yarn run start
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then point a browser to [http://localhost:8080](http://localhost:8080).
|
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
|
set -ex
|
||||||
rm -rf ./_dist
|
rm -rf ./_dist
|
||||||
npm install
|
yarn
|
||||||
npm run build
|
yarn run build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user