Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
dist
lib
.npmrc
yarn-error.log
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: node_js

node_js:
- "9"

branches:
only:
- master

cache:
directories:
- node_modules

notifications:
email: false

env:
VERSION: "$TRAVIS_BUILD_NUMBER"

before_install:
- yarn

script:
- TYPEFORM_TOKEN=${TYPEFORM_TOKEN} yarn test

after_success:
- yarn semantic-release

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/jepser/typeform-js-sdk.git"
"url": "git+https://github.com/Typeform/js-api-client.git"
},
"keywords": [
"sdk",
Expand All @@ -19,9 +19,9 @@
"author": "Jepser Bernardino",
"license": "MIT",
"bugs": {
"url": "https://github.com/jepser/typeform-js-sdk/issues"
"url": "https://github.com/Typeform/js-api-client/issues"
},
"homepage": "https://github.com/jepser/typeform-js-sdk#readme",
"homepage": "https://github.com/Typeform/js-api-clientk#readme",
"dependencies": {
"axios": "^0.18.0",
"in-publish": "^2.0.0"
Expand All @@ -46,6 +46,7 @@
"jest": "^22.4.3",
"lint-staged": "^7.0.4",
"prettier": "^1.12.1",
"semantic-release": "^15.1.7",
"sinon": "^4.5.0",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.14"
Expand All @@ -66,7 +67,8 @@
"build:dist": "webpack --mode production",
"build:lib": "NODE_ENV=production babel src --out-dir lib",
"prepublish": "in-publish && npm run build:dist && npm run build:lib || not-in-publish",
"pretty": "prettier './{src,tests}/**/*.js' --write"
"pretty": "prettier './{src,tests}/**/*.js' --write",
"semantic-release": "semantic-release"
},
"peerDependencies": {}
}
Loading