diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 7172387..0000000 --- a/.npmignore +++ /dev/null @@ -1,21 +0,0 @@ -# Configuration files -tsconfig.json -config - -# Source code -src - -# Dependency directories -node_modules -yarn.lock - -# Editor settings -.vscode - -# Logs -logs -*.log - -# Test files -**/*.spec.* -**/__tests__/* diff --git a/.travis.yml b/.travis.yml index 39198a6..c4a3864 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,15 +6,15 @@ node_js: - "6" # Run the the validate script -script: yarn run validate - -# We of course run a build first to generate the build targets -before_deploy: yarn run build +script: + - yarn run validate + - yarn run build # Using semantic-release, deploy a new version of the library # We're running multiple node jobs so running on latest Node # version deploy: + skip_cleanup: true provider: script script: npx semantic-release on: diff --git a/package.json b/package.json index 341d59f..81442d4 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,10 @@ "jsnext:main": "lib/esm/index.js", "browser": "dist/eventbrite.js", "types": "lib/index.d.ts", + "files": [ + "lib", + "dist" + ], "keywords": [ "rest", "api",