pumpdotfun-sdk icon indicating copy to clipboard operation
pumpdotfun-sdk copied to clipboard

NPM install does not generate dist

Open rileyg98 opened this issue 11 months ago • 1 comments

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.

rileyg98 avatar Jan 22 '25 03:01 rileyg98

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.

tchereau avatar Feb 01 '25 18:02 tchereau