pumpdotfun-sdk
pumpdotfun-sdk copied to clipboard
NPM install does not generate dist
Just an issue for the PR I've issued (#73). Installing via npm i does not generate the dist folder and as such you can't import this into a project. Fix already done.
if you have just cloned the git repo, then npm i will just install dependencies.
according to package.json file
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rimraf dist/ && npm run build:node && npm run build:browser",
"build:node": "tsc && tsc -p tsconfig.cjs.json",
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs"
you have to do npm run build in order to generate the dist folder.