Use package files instead of npmignore
This commit is contained in:
parent
b6f7724558
commit
d54af88dd2
13
.npmignore
13
.npmignore
|
@ -1,13 +0,0 @@
|
||||||
.cproject
|
|
||||||
.idea
|
|
||||||
.lock-wscript
|
|
||||||
.DS_Store
|
|
||||||
.project
|
|
||||||
.DS_Store
|
|
||||||
.eslintrc
|
|
||||||
.gitignore
|
|
||||||
node_modules/
|
|
||||||
package-lock.json
|
|
||||||
test/
|
|
||||||
examples/
|
|
||||||
*.log
|
|
11
package.json
11
package.json
|
@ -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"
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue