Skip to content

Commit ea16185

Browse files
authored
Merge pull request #552 from wwayne/refactoring
Refactoring
2 parents c94138c + efa2fa4 commit ea16185

File tree

6 files changed

+12
-2637
lines changed

6 files changed

+12
-2637
lines changed

.travis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ script:
1717
- yarn build
1818
- git config --global user.name "Travis CI"
1919
- git config --global user.email "[email protected]"
20-
- export GIT_PUBLISH_URL=https://${GH_TOKEN}@github.com/wwayne/react-tooltip.git
21-
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then yarn gh-pages -- --repo ${GIT_PUBLISH_URL}; fi
2220
- cd example
2321
- yarn
2422
- yarn build
23+
- cd ..
2524

26-
#deploy:
27-
# provider: pages
28-
# skip_cleanup: true
29-
# token: $GH_TOKEN
30-
# keep_history: true
31-
# on:
32-
# branch: refactoring
33-
3425
after_success:
3526
- yarn semantic-release
3627

28+
deploy:
29+
provider: pages
30+
local_dir: example/build
31+
skip_cleanup: true
32+
token: $GH_TOKEN
33+
keep_history: true
34+
on:
35+
branch: master
36+
3737
branches:
3838
except:
3939
- "/^v\\d+\\.\\d+\\.\\d+$/"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import ReactTooltip from 'react-tooltip'
5656

5757
**Standalone**
5858

59-
You can import `node_modules/react-tooltip/standalone/react-tooltip.min.js` into your page. Please make sure that you have already imported `react` and `react-dom` into your page.
59+
You can import `node_modules/react-tooltip/dist/index.js` into your page. Please make sure that you have already imported `react` and `react-dom` into your page.
6060

6161
## Options
6262
Notes:

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-tooltip-example",
3-
"homepage": "https://github.com/wwayne/react-tooltip",
3+
"homepage": "https://wwayne.github.io/react-tooltip/",
44
"version": "1.0.0",
55
"license": "MIT",
66
"dependencies": {

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"npm": ">=5"
1111
},
1212
"scripts": {
13-
"test": "make lint",
1413
"pretest": "./node_modules/.bin/eslint . --fix",
1514
"clean": "rimraf dist",
1615
"build": "rollup -c",

0 commit comments

Comments
 (0)