reattempt to use npm

This commit is contained in:
keyan 2021-06-05 20:13:07 -04:00
parent 333643346f
commit b55d7eadb3
4 changed files with 5 additions and 19 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
echo skipping yarn
echo build with npm
npm run build
# echo installing yarn
# sudo npm install yarn -g

View File

@ -1,2 +1,2 @@
web: yarn start
web: npm run start
walletd: node --trace-warnings walletd/index.js

View File

@ -1,16 +0,0 @@
#!/usr/bin/env bash
echo installing yarn
# install yarn
sudo npm install yarn -g
echo link
# make sure it's in path
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
echo try to build
# build it
sudo yarn build

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"rebuild": "next build",
"start": "next start -p $PORT"
},
"dependencies": {