diff --git a/.npmignore b/.npmignore deleted file mode 100644 index b61c4fa..0000000 --- a/.npmignore +++ /dev/null @@ -1,3 +0,0 @@ -src -__tests__ -__fixtures__ diff --git a/package.json b/package.json index aeb1084..8622d41 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,10 @@ "description": "Get a full fake REST API with zero coding in less than 30 seconds", "main": "./lib/server/index.js", "bin": "./lib/cli/bin.js", + "files": [ + "lib", + "public" + ], "scripts": { "postinstall": "husky install", "test": "npm run build && cross-env NODE_ENV=test jest && npm run lint", diff --git a/postinstall.js b/postinstall.js deleted file mode 100644 index e7c2e1a..0000000 --- a/postinstall.js +++ /dev/null @@ -1,10 +0,0 @@ -const chalk = require('chalk') - -console.log( - 'Like JSON Server? You can support the project on', - chalk.bold('GitHub Sponsors') -) -console.log( - chalk.underline('https://github.com/users/typicode/sponsorship'), - chalk.red('❤') -)