Use `files` field instead of .npmignore

This commit is contained in:
Pig Fang 2018-07-02 22:21:27 +08:00
parent c3215cbab1
commit f80b5b128d
2 changed files with 4 additions and 25 deletions

View File

@ -1,25 +0,0 @@
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pids
*.pid
*.seed
*.pid.lock
lib-cov
coverage
.nyc_output
.grunt
bower_components
.lock-wscript
node_modules/
jspm_packages/
typings/
.npm
.eslintcache
.node_repl_history
*.tgz
.yarn-integrity
.env
_ignore/

View File

@ -29,6 +29,10 @@
"url": "https://github.com/bs-community/skinview3d/issues"
},
"homepage": "https://github.com/bs-community/skinview3d",
"files": [
"types",
"build"
],
"dependencies": {
"three": "^0.92.0"
},