create-web3-dapp
create-web3-dapp copied to clipboard
Help with testing locally
i am trying to contribute some changes, but have some hard time testing changes locally, never used parcel before. i saw the package.json has two scripts.
yarn start yarn build yarn build index.ts these all three are failing how can i exactly test these locally ?
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint . --ext .ts && yarn prettier --write .",
"start": "parcel index.html",
"build": "parcel build ./dist/index.js"
}
i am trying to contribute some changes, but have some hard time testing changes locally, never used parcel before. i saw the package.json has two scripts.
yarn start yarn build yarn build index.ts these all three are failing how can i exactly test these locally ?
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "lint": "eslint . --ext .ts && yarn prettier --write .", "start": "parcel index.html", "build": "parcel build ./dist/index.js" }
npx tsc to compile the typescript source code.
node dist/index.js to run the script.
I got no idea about the start and build script either.
We need to remove these scripts from the package.json!
P
i am trying to contribute some changes, but have some hard time testing changes locally, never used parcel before. i saw the package.json has two scripts. yarn start yarn build yarn build index.ts these all three are failing how can i exactly test these locally ?
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "lint": "eslint . --ext .ts && yarn prettier --write .", "start": "parcel index.html", "build": "parcel build ./dist/index.js" }
npx tscto compile the typescript source code.node dist/index.jsto run the script.I got no idea about the
startandbuildscript either.
This is the actual flow
@kenryu42 @Eversmile12 and also i have tested the when you create the dapp.
the cleanUpScriptRuns
but the hidden .git stays.. which in returns shows files as changes in the new dapp created. i have created the pull-request but was closed without merge
https://github.com/Eversmile12/create-web3-dapp/pull/5

Ah! @Hussainzz mb, can you open a new one?
Ah! @Hussainzz mb, can you open a new one?
DOne
Ah! @Hussainzz mb, can you open a new one?
DOne
Merged!