Pulling files from a directory into the root folder for NPM -



Pulling files from a directory into the root folder for NPM -

i publishing library npm.

when build library, resulting artifact placed in dist folder located in root of project index.js.

when users install npm index.js nowadays in root of folder created in node_modules folder. presently, remains in directory named dist.

how can this?

my packages.json:

{ "name": "my-package", "version": "0.0.9", "files": ["dist/*"], "main": "index.min.js", "private": false, "dependencies": {}, "devdependencies": {}, "repository": "git@github.com:username/my-package.git" }

npm

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -