Skip to content

Commit

Permalink
use files array to remove cruft from npm tarball (#1067)
Browse files Browse the repository at this point in the history
* use files array to remove cruft from npm tarball

* dont need both
  • Loading branch information
jgravois authored Mar 30, 2018
1 parent 6ae425b commit cae13d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 34 deletions.
34 changes: 0 additions & 34 deletions .npmignore

This file was deleted.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
"uglify-js": "^2.8.29",
"watch": "^0.17.1"
},
"files": [
"src/**.js",
"dist/esri-leaflet.js",
"dist/esri-leaflet-debug.js",
"dist/esri-leaflet.js.map"
],
"homepage": "http://esri.github.io/esri-leaflet",
"module": "src/EsriLeaflet.js",
"jsnext:main": "src/EsriLeaflet.js",
Expand Down

0 comments on commit cae13d3

Please sign in to comment.