Skip to content

Commit efa2fa4

Browse files
committed
chore: updating readme for standalone files and travis for releases
1 parent 0598a1c commit efa2fa4

File tree

5 files changed

+6
-2630
lines changed

5 files changed

+6
-2630
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,19 @@ script:
2020
- cd example
2121
- yarn
2222
- yarn build
23+
- cd ..
2324

25+
after_success:
26+
- yarn semantic-release
27+
2428
deploy:
2529
provider: pages
2630
local_dir: example/build
2731
skip_cleanup: true
2832
token: $GH_TOKEN
2933
keep_history: true
3034
on:
31-
branch: master
32-
33-
after_success:
34-
- yarn semantic-release
35+
branch: master
3536

3637
branches:
3738
except:

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:

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)