Replace .npmignore with `"files": [...]` in package.json

This commit is contained in:
Simon Lydell 2016-09-24 14:26:46 +02:00
parent 2923e88207
commit c3f5b8db86
2 changed files with 6 additions and 11 deletions

View File

@ -1,11 +0,0 @@
*.coffee
*.html
.DS_Store
.git*
Cakefile
documentation/
examples/
extras/coffee-script.js
raw/
src/
test/

View File

@ -21,6 +21,12 @@
"coffee": "./bin/coffee",
"cake": "./bin/cake"
},
"files": [
"bin",
"lib",
"register.js",
"repl.js"
],
"preferGlobal": true,
"scripts": {
"test": "node ./bin/cake test",