Replace .npmignore with package.json files

This is inclusive instead of exclusive, which is more manageable.
This commit is contained in:
Remco Haszing 2021-03-25 17:21:25 +01:00
parent a5a49756be
commit 26317d314a
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C
2 changed files with 3 additions and 15 deletions

View file

@ -1,12 +0,0 @@
/.vscode/
/out/
/scripts/
/examples/
/patches/
/src/
/test/
/.gitignore
/.npmignore
/examples
/test-demo.png
/.editorconfig

View file

@ -17,9 +17,9 @@
"main": "./lib/esm/monaco.contribution.js",
"module": "./lib/esm/monaco.contribution.js",
"typings": "./lib/monaco.d.ts",
"directories": {
"lib": "./lib"
},
"files": [
"lib"
],
"author": "Kevin Decker <kpdecker@gmail.com> (http://incaseofstairs.com)",
"maintainers": [
"kpdecker",