Switch from npmignore to files option

This commit is contained in:
Martijn Cuppens 2020-06-28 11:19:55 +02:00
parent 2b0b306a77
commit 91d5cedfc2
2 changed files with 8 additions and 5 deletions

View File

@ -1,5 +0,0 @@
/__tests__/
/jest/
/src/
index.html
yarn-error.log

View File

@ -25,6 +25,14 @@
"style": "eslint .",
"test": "jest && eslint ."
},
"files": [
"dist/*.css",
"lib/*",
"scripts/*.js",
"stubs/*.stub.js",
"*.css",
"*.js"
],
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",