Skip to content

Commit 21f2a58

Browse files
committed
Convert the demo to CRA
1 parent 67094ed commit 21f2a58

23 files changed

+10069
-49
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.idea
2-
/node_modules
2+
node_modules
33
npm-debug.log
44

55
# Exclude compiled files

demo/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

demo/app.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

demo/assets/index.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

demo/package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "react-css-transition-replace-demo",
3+
"version": "3.0.3",
4+
"private": true,
5+
"dependencies": {
6+
"react": "^16.7.0",
7+
"react-dom": "^16.7.0",
8+
"react-scripts": "2.1.2"
9+
},
10+
"scripts": {
11+
"start": "react-scripts start",
12+
"build": "react-scripts build",
13+
"test": "react-scripts test",
14+
"eject": "react-scripts eject"
15+
},
16+
"eslintConfig": {
17+
"extends": "react-app"
18+
},
19+
"browserslist": [
20+
">0.2%",
21+
"not dead",
22+
"not ie <= 11",
23+
"not op_mini all"
24+
]
25+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

demo/public/index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta
6+
name="viewport"
7+
content="width=device-width, initial-scale=1, shrink-to-fit=no"
8+
/>
9+
<meta name="theme-color" content="#ffffff" />
10+
<meta name="description" content="ReactCSSTransitionReplace Demo">
11+
12+
<title>ReactCSSTransitionReplace</title>
13+
14+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
15+
<link rel="stylesheet" href="//bootswatch.com/cerulean/bootstrap.min.css">
16+
</head>
17+
<body>
18+
<noscript>You need to enable JavaScript to run this app.</noscript>
19+
<div id="root"></div>
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)