Use package files instead of npmignore

This commit is contained in:
Luis Blanco 2019-08-10 15:48:27 +03:00
parent b6f7724558
commit d54af88dd2
3 changed files with 12 additions and 14 deletions

View File

@ -1,13 +0,0 @@
.cproject
.idea
.lock-wscript
.DS_Store
.project
.DS_Store
.eslintrc
.gitignore
node_modules/
package-lock.json
test/
examples/
*.log

View File

@ -17,6 +17,17 @@
"napi", "napi",
"gyp" "gyp"
], ],
"files": [
"bat",
"include",
"download.js",
"index.js",
"install.js",
"writable-buffer.js",
"LICENSE",
"package.json",
"README.md"
],
"engines": { "engines": {
"node": ">=10.16.1", "node": ">=10.16.1",
"npm": ">=6.9.0" "npm": ">=6.9.0"

View File

@ -5,7 +5,7 @@
"main": "mocha", "main": "mocha",
"scripts": { "scripts": {
"test": "mocha", "test": "mocha",
"preinstall": "cd .. && npm ci" "postinstall": "cd .. && npm ci"
}, },
"dependencies": { "dependencies": {
"chai": "4.2.0", "chai": "4.2.0",