Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 525bcdf

Browse files
committed
added stop watch persist query url example
1 parent a751f4b commit 525bcdf

File tree

24 files changed

+12459
-0
lines changed

24 files changed

+12459
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SKIP_PREFLIGHT_CHECK=true

examples/react/release/stopwatch-query-url/.eslintrc.js

Whitespace-only changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
.idea
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*

examples/react/release/stopwatch-query-url/.prettierignore

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"trailingComma": "all"
8+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"name": "stopwatch-query-url",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"@agile-ts/core": "^0.1.2",
7+
"@agile-ts/react": "^0.1.2",
8+
"query-string": "^7.0.1",
9+
"react": "^17.0.2",
10+
"react-dom": "^17.0.2",
11+
"react-scripts": "^4.0.3"
12+
},
13+
"scripts": {
14+
"start": "react-scripts start",
15+
"build": "react-scripts build",
16+
"test": "react-scripts test",
17+
"eject": "react-scripts eject",
18+
"prettier": "prettier --config .prettierrc --write \"**/*.{js,ts}\"",
19+
"lint": "eslint --cache \"**/*.{js,jsx,ts,tsx}\""
20+
},
21+
"eslintConfig": {
22+
"extends": "react-app"
23+
},
24+
"browserslist": {
25+
"production": [
26+
">0.2%",
27+
"not dead",
28+
"not op_mini all"
29+
],
30+
"development": [
31+
"last 1 chrome version",
32+
"last 1 firefox version",
33+
"last 1 safari version"
34+
]
35+
},
36+
"devDependencies": {
37+
"@types/node": "^12.0.0",
38+
"@types/react": "^17.0.0",
39+
"@types/react-dom": "^17.0.0",
40+
"@typescript-eslint/eslint-plugin": "^4.28.3",
41+
"@typescript-eslint/parser": "^4.28.3",
42+
"eslint": "^7.31.0",
43+
"eslint-config-airbnb-typescript": "^12.3.1",
44+
"eslint-config-prettier": "^8.3.0",
45+
"eslint-plugin-import": "^2.23.4",
46+
"eslint-plugin-jsx-a11y": "^6.4.1",
47+
"eslint-plugin-prettier": "^3.4.0",
48+
"eslint-plugin-react": "^7.24.0",
49+
"eslint-plugin-react-hooks": "^4.2.0",
50+
"prettier": "^2.3.2",
51+
"typescript": "^4.1.2"
52+
}
53+
}
3.78 KB
Binary file not shown.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta
9+
name="description"
10+
content="Web site created using create-react-app"
11+
/>
12+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13+
<!--
14+
manifest.json provides metadata used when your web app is installed on a
15+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16+
-->
17+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18+
<!--
19+
Notice the use of %PUBLIC_URL% in the tags above.
20+
It will be replaced with the URL of the `public` folder during the build.
21+
Only files inside the `public` folder can be referenced from the HTML.
22+
23+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24+
work correctly both with client-side routing and a non-root public URL.
25+
Learn how to configure a non-root public URL by running `npm run build`.
26+
-->
27+
<title>React App</title>
28+
</head>
29+
<body>
30+
<noscript>You need to enable JavaScript to run this app.</noscript>
31+
<div id="root"></div>
32+
<!--
33+
This HTML file is a template.
34+
If you open it directly in the browser, you will see an empty page.
35+
36+
You can add webfonts, meta tags, or analytics to this file.
37+
The build step will place the bundled scripts into the <body> tag.
38+
39+
To begin the development, run `npm start` or `yarn start`.
40+
To create a production bundle, use `npm run build` or `yarn build`.
41+
-->
42+
</body>
43+
</html>
5.22 KB
Loading
9.44 KB
Loading

0 commit comments

Comments
 (0)