react-achievements 3.6.4 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +89 -0
- package/README.md +251 -2433
- package/dist/index.d.ts +53 -1
- package/dist/index.js +46 -1
- package/dist/index.js.map +1 -1
- package/dist/types/core/components/BadgesButtonWithModal.d.ts +53 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +7 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Dual License
|
|
2
|
+
|
|
3
|
+
React Achievements is dual-licensed under the MIT License for non-commercial use and a Commercial License for commercial use.
|
|
4
|
+
|
|
5
|
+
## MIT License (Non-Commercial Use)
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2025 Dave B
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction for **non-commercial purposes**, including
|
|
12
|
+
without limitation the rights to use, copy, modify, merge, publish, distribute,
|
|
13
|
+
sublicense, and/or sell copies of the Software for non-commercial purposes,
|
|
14
|
+
and to permit persons to whom the Software is furnished to do so, subject to
|
|
15
|
+
the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
### Non-Commercial Use Includes:
|
|
29
|
+
|
|
30
|
+
- Personal projects (no revenue generation)
|
|
31
|
+
- Educational and academic institutions
|
|
32
|
+
- Non-profit organizations with 501(c)(3) or equivalent status
|
|
33
|
+
- Open source projects (with OSI-approved license)
|
|
34
|
+
- Evaluation, development, and testing purposes
|
|
35
|
+
- Government agencies and public sector organizations
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Commercial License
|
|
40
|
+
|
|
41
|
+
**Commercial use requires a paid license via GitHub Sponsors.**
|
|
42
|
+
|
|
43
|
+
### What Constitutes Commercial Use:
|
|
44
|
+
|
|
45
|
+
Commercial use includes, but is not limited to:
|
|
46
|
+
|
|
47
|
+
- Companies or organizations using this library in products/services that generate revenue
|
|
48
|
+
- SaaS (Software as a Service) applications
|
|
49
|
+
- Commercial websites, web applications, or mobile apps
|
|
50
|
+
- Enterprise software or internal business applications
|
|
51
|
+
- Freelancers or contractors building paid projects for clients
|
|
52
|
+
- Any use where the library contributes to revenue-generating activities
|
|
53
|
+
|
|
54
|
+
### How to Obtain a Commercial License:
|
|
55
|
+
|
|
56
|
+
Visit our **[GitHub Sponsors page](https://github.com/sponsors/dave-b-b)** to select a tier that matches your organization's size and revenue.
|
|
57
|
+
|
|
58
|
+
**Pricing Tiers:**
|
|
59
|
+
|
|
60
|
+
- **Indie Developer** ($19/month): For small businesses, freelancers, and startups with annual revenue < $100,000
|
|
61
|
+
- **Professional** ($49/month): For growing companies with annual revenue < $1,000,000, includes priority support
|
|
62
|
+
- **Enterprise** ($199/month): For large companies with unlimited revenue, includes private support channel and feature requests
|
|
63
|
+
|
|
64
|
+
For custom licensing arrangements or questions, please contact: dave.b.business@gmail.com
|
|
65
|
+
|
|
66
|
+
See [COMMERCIAL-LICENSE.md](./COMMERCIAL-LICENSE.md) for detailed commercial licensing terms.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Frequently Asked Questions
|
|
71
|
+
|
|
72
|
+
**Q: I'm a freelancer building a website for a client. Do I need a commercial license?**
|
|
73
|
+
A: Yes, if the client is paying you or if the website generates revenue, you need a commercial license.
|
|
74
|
+
|
|
75
|
+
**Q: I'm using this in an open-source project. Do I need a commercial license?**
|
|
76
|
+
A: No, open-source projects with an OSI-approved license can use the MIT license.
|
|
77
|
+
|
|
78
|
+
**Q: Can I try the library before committing to a commercial license?**
|
|
79
|
+
A: Yes, evaluation and testing fall under non-commercial use.
|
|
80
|
+
|
|
81
|
+
**Q: What if my startup grows and exceeds the Indie Developer tier revenue?**
|
|
82
|
+
A: Please upgrade to the appropriate tier when your revenue grows. We operate on an honor system and trust our users.
|
|
83
|
+
|
|
84
|
+
**Q: Do non-profits need a commercial license?**
|
|
85
|
+
A: No, registered non-profit organizations (501(c)(3) or equivalent) can use the MIT license for free.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
For questions about licensing, please email dave.b.business@gmail.com or open a discussion on GitHub.
|