Skip to content

Commit 80dc778

Browse files
committed
chore: remove some folders from npm publish and update license content
1 parent 645df60 commit 80dc778

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.npmignore

+9
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@
66
// specific files
77
node_modules/
88
example/
9+
example-v5/
10+
build/
911
test/
1012
bin/
1113
CHANGELOG.md
1214
src/
15+
docs/
16+
public/
1317

1418
// setting files
1519
.babelrc
1620
.travis.yml
21+
22+
// others
23+
.vscode/
24+
.husky/
25+
.github/

LICENSE

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Wang Zixiao
3+
Copyright (c) 2022 ReactTooltip Team Github
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22-

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-tooltip",
3-
"version": "5.0.0-beta.1",
3+
"version": "5.0.0-beta.2",
44
"description": "react tooltip component",
55
"scripts": {
66
"dev": "node ./cli.js --env=development && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.dev.js --watch",
@@ -13,7 +13,7 @@
1313
"prepare": "husky install",
1414
"test": "jest"
1515
},
16-
"main": "dist/react-tooltip.esm.js",
16+
"main": "dist/react-tooltip.esm.min.js",
1717
"buildFormats": [
1818
{
1919
"file": "dist/react-tooltip.umd.js",

0 commit comments

Comments
 (0)