reattempt to use npm
This commit is contained in:
parent
333643346f
commit
b55d7eadb3
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo skipping yarn
|
echo build with npm
|
||||||
|
npm run build
|
||||||
|
|
||||||
# echo installing yarn
|
# echo installing yarn
|
||||||
# sudo npm install yarn -g
|
# sudo npm install yarn -g
|
||||||
|
|
||||||
|
2
Procfile
2
Procfile
@ -1,2 +1,2 @@
|
|||||||
web: yarn start
|
web: npm run start
|
||||||
walletd: node --trace-warnings walletd/index.js
|
walletd: node --trace-warnings walletd/index.js
|
16
build.sh
16
build.sh
@ -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
|
|
@ -4,7 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"rebuild": "next build",
|
||||||
"start": "next start -p $PORT"
|
"start": "next start -p $PORT"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user