This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed
Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
2323---
2424
25+ ## [ v1.2.0] - (2020-11-26)
26+
27+ ### Added
28+
29+ - [ UMD] ( https://github.com/umdjs/umd#readme ) build added
30+
31+ ### Changed
32+
33+ - [ unpkg] ( https://unpkg.com/ ) documentation added to README
34+
35+ ### Dependencies
36+
37+ - [ ` 07fa3fb ` ] ( https://github.com/YashTotale/react-hash-scroll/pull/1 ) ` lint-staged@10.5.2 `
38+ - [ ` 15c640b ` ] ( https://github.com/YashTotale/react-hash-scroll/pull/2 ) ` @babel/core@7.12.9 `
39+
40+ ---
41+
2542## [ v1.1.0] - (2020-11-24)
2643
2744### Added
Original file line number Diff line number Diff line change @@ -50,6 +50,19 @@ Using [yarn](https://yarnpkg.com/):
5050yarn add react-hash-scroll
5151```
5252
53+ Using [ unpkg] ( https://unpkg.com/ ) :
54+
55+ ``` html
56+ <!-- These 3 are required as peer dependencies -->
57+ <script src =" https://unpkg.com/react/umd/react.production.min.js" ></script >
58+ <script src =" https://unpkg.com/react-dom/umd/react-dom.production.min.js" ></script >
59+ <script src =" https://unpkg.com/react-router-dom/umd/react-router-dom.min.js" ></script >
60+
61+ <script src =" https://unpkg.com/react-router-dom/umd/react-hash-scroll.min.js" ></script >
62+ ```
63+
64+ You can then access the library as ` window.ReactHashScroll `
65+
5366---
5467
5568## Why this one
Original file line number Diff line number Diff line change 1414 "bugs" : {
1515 "url" : " https://github.com/YashTotale/react-hash-scroll/issues"
1616 },
17+ "homepage" : " https://github.com/YashTotale/react-hash-scroll/" ,
1718 "license" : " MIT" ,
1819 "scripts" : {
1920 "prebuild" : " TS_NODE_COMPILER_OPTIONS='{\" module\" :\" commonjs\" }' ts-node scripts/prebuild.ts" ,
6667 "typescript" : " ^4.1.2"
6768 },
6869 "files" : [
69- " cjs"
70+ " cjs" ,
71+ " umd"
7072 ],
7173 "keywords" : [
7274 " react" ,
You can’t perform that action at this time.
0 commit comments