From 8caeba8278a3a5393ef259a5da24df6298792c89 Mon Sep 17 00:00:00 2001 From: Felippe Rodrigo Puhle Date: Thu, 1 Nov 2018 00:53:25 -0300 Subject: [PATCH] Fix deploy and scripts --- .travis.yml | 1 - package.json | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f28ff47..3ecd190 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ install: true cache: yarn node_js: - - '6' - '8' - '10' diff --git a/package.json b/package.json index ce638fe..04dd3db 100644 --- a/package.json +++ b/package.json @@ -70,9 +70,13 @@ "build": "npx tsc --noEmit --pretty && npx babel --extensions '.ts,.tsx' --source-maps --out-dir lib src", "docz:dev": "docz dev", "docz:build": "docz build", + "relay": "relay-compiler --src ./tests/components --schema tests/data/schema.graphql --language typescript", + "release:prerelease": "npm run test && npm run build && npm version prerelease && git push --follow-tags && npm publish --tag next --access public", + "release:patch": "npm run test && npm run build && npm version patch && git push --follow-tags && npm publish --access public", + "release:minor": "npm run test && npm run build && npm version minor && git push --follow-tags && npm publish --access public", + "release:major": "npm run test && npm run build && npm version major && git push --follow-tags && npm publish --access public", "test": "jest --coverage --runInBand --forceExit", - "test:watch": "jest --watchAll --coverage", - "relay": "relay-compiler --src ./tests/components --schema tests/data/schema.graphql --language typescript" + "test:watch": "jest --watchAll --coverage" }, "jest": { "transform": {