Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit e8846fb

Browse files
committed
Set up demos
1 parent a239a59 commit e8846fb

File tree

9 files changed

+16553
-0
lines changed

9 files changed

+16553
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/), and this
77
**Table of Contents**
88

99
- [[Unreleased]](#unreleased)
10+
- [[v1.3.2] - (2020-12-1)](#v132---2020-12-1)
1011
- [[v1.3.1] - (2020-11-30)](#v131---2020-11-30)
1112
- [Added](#added)
1213
- [[v1.3.0] - (2020-11-27)](#v130---2020-11-27)
@@ -35,6 +36,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/), and this
3536

3637
---
3738

39+
## [v1.3.2] - (2020-12-1)
40+
41+
---
42+
3843
## [v1.3.1] - (2020-11-30)
3944

4045
### Added

demos/.eslintcache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/Users/YashTotale/Desktop/PersonalProjects/react-hash-scroll/demos/src/index.tsx":"1","/Users/YashTotale/Desktop/PersonalProjects/react-hash-scroll/demos/src/App.tsx":"2"},{"size":190,"mtime":1606844574473,"results":"3","hashOfConfig":"4"},{"size":93,"mtime":1606844793803,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"8"},"wkfb2f",{"filePath":"9","messages":"10","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/YashTotale/Desktop/PersonalProjects/react-hash-scroll/demos/src/index.tsx",[],["11","12"],"/Users/YashTotale/Desktop/PersonalProjects/react-hash-scroll/demos/src/App.tsx",[],{"ruleId":"13","replacedBy":"14"},{"ruleId":"15","replacedBy":"16"},"no-native-reassign",["17"],"no-negated-in-lhs",["18"],"no-global-assign","no-unsafe-negation"]

demos/package-lock.json

Lines changed: 16450 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/package.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "react-hash-scroll-demos",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"@testing-library/jest-dom": "^5.11.6",
7+
"@testing-library/react": "^11.2.2",
8+
"@testing-library/user-event": "^12.3.0",
9+
"@types/jest": "^26.0.15",
10+
"@types/node": "^12.19.8",
11+
"@types/react": "^16.14.2",
12+
"@types/react-dom": "^16.9.10",
13+
"react": "^17.0.1",
14+
"react-dom": "^17.0.1",
15+
"react-scripts": "4.0.1",
16+
"typescript": "^4.1.2",
17+
"web-vitals": "^0.2.4"
18+
},
19+
"scripts": {
20+
"start": "react-scripts start",
21+
"build": "react-scripts build",
22+
"test": "react-scripts test",
23+
"eject": "react-scripts eject"
24+
},
25+
"eslintConfig": {
26+
"extends": [
27+
"react-app",
28+
"react-app/jest"
29+
]
30+
},
31+
"browserslist": {
32+
"production": [
33+
">0.2%",
34+
"not dead",
35+
"not op_mini all"
36+
],
37+
"development": [
38+
"last 1 chrome version",
39+
"last 1 firefox version",
40+
"last 1 safari version"
41+
]
42+
}
43+
}

demos/public/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<meta
7+
name="description"
8+
content="Demos for React Hash Scroll (NPM Package)"
9+
/>
10+
<title>React Hash Scroll Demos</title>
11+
</head>
12+
<body>
13+
<noscript>You need to enable JavaScript to run this app.</noscript>
14+
<div id="root"></div>
15+
</body>
16+
</html>

demos/src/App.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import React from "react";
2+
3+
function App() {
4+
return <h1>Demos</h1>;
5+
}
6+
7+
export default App;

demos/src/index.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from "react";
2+
import { render } from "react-dom";
3+
import App from "./App";
4+
5+
render(
6+
<React.StrictMode>
7+
<App />
8+
</React.StrictMode>,
9+
document.getElementById("root")
10+
);

demos/src/react-app-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="react-scripts" />

demos/tsconfig.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"lib": ["dom", "dom.iterable", "esnext"],
5+
"allowJs": true,
6+
"skipLibCheck": true,
7+
"esModuleInterop": true,
8+
"allowSyntheticDefaultImports": true,
9+
"strict": true,
10+
"forceConsistentCasingInFileNames": true,
11+
"noFallthroughCasesInSwitch": true,
12+
"module": "esnext",
13+
"moduleResolution": "node",
14+
"resolveJsonModule": true,
15+
"isolatedModules": true,
16+
"noEmit": true,
17+
"jsx": "react-jsx"
18+
},
19+
"include": ["src"]
20+
}

0 commit comments

Comments
 (0)