Skip to content

Commit 9e48d82

Browse files
committed
Initial commit
0 parents  commit 9e48d82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1841
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
# Unix-style newlines with a newline ending every file
4+
[*]
5+
end_of_line = lf
6+
insert_final_newline = true
7+
8+
9+
# Matches multiple files with brace expansion notation
10+
# Set default charset
11+
[*.{js,jsx,html,sass}]
12+
charset = utf-8
13+
indent_style = space
14+
indent_size = 2
15+
trim_trailing_whitespace = true

.eslintrc.js

Lines changed: 582 additions & 0 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
14+
coverage
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# node-waf configuration
20+
.lock-wscript
21+
22+
# Compiled binary addons (http://nodejs.org/api/addons.html)
23+
build/Release
24+
25+
# Dependency directory
26+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
27+
node_modules
28+
29+
# Ignore build files
30+
dist
31+
32+
.idea
33+
package-lock.json
34+
yarn.lock
35+
tmp/*
36+
!tmp/readme.md
37+
webpack-report

.jshintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"esversion": 6,
3+
"node": true
4+
}

.prettierrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"printWidth": 150,
3+
"arrowParens": "always",
4+
"bracketSpacing": true,
5+
"jsxSingleQuote": true,
6+
"singleQuote": true,
7+
"semi": false,
8+
"tabWidth": 2,
9+
"trailingComma": "all"
10+
}

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Info
2+
React starter-kit project
3+
4+
## Main features
5+
* typescript
6+
* webpack
7+
* babel
8+
* eslint
9+
* mobx
10+
* react-router
11+
* axios
12+
* jest
13+
* i18next
14+
* font-awesome
15+
* tailwind
16+
* scss support
17+
* hot module replacement with fast refresh plugin
18+
19+
## Installation and startup
20+
1. npm install or yarn install
21+
2. npm start or yarn start
22+
3. visit [http://localhost:3000](http://localhost:3000/)
23+
24+
## Build
25+
1. npm run build or yarn build
26+
2. go to "dist" folder, located in the root directory
27+
28+
## Test (jest)
29+
npm test or yarn test

jest.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* eslint-disable no-undef */
2+
3+
module.exports = {
4+
rootDir: "src",
5+
verbose: true,
6+
transform: {
7+
"^.+\\.(ts|tsx|js|jsx)$": "ts-jest"
8+
},
9+
moduleNameMapper:{
10+
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
11+
}
12+
}

package.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"name": "react-kickstart-project",
3+
"version": "0.0.1",
4+
"description": "react boilerplate kit",
5+
"author": "Václav Daněk",
6+
"license": "MIT",
7+
"private": true,
8+
"main": "''",
9+
"scripts": {
10+
"build": "webpack --config webpack.production.config.js --progress --profile",
11+
"start": "webpack-dev-server --config webpack.dev.config.js --progress --profile",
12+
"dev": "webpack-dashboard -- webpack-dev-server --config webpack.dev.config.js --progress --profile",
13+
"lint": "eslint --ext js --ext jsx src || exit 0",
14+
"test": "jest",
15+
"watch": "jest --watch",
16+
"type-check": "tsc"
17+
},
18+
"dependencies": {
19+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
20+
"@fortawesome/free-regular-svg-icons": "^6.7.2",
21+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
22+
"@fortawesome/react-fontawesome": "^0.2.2",
23+
"@types/node": "^22.14.0",
24+
"axios": "^1.8.4",
25+
"classnames": "^2.5.1",
26+
"i18next": "^24.2.3",
27+
"i18next-browser-languagedetector": "^8.0.4",
28+
"js-utils": "https://github.com/VaclavDanek/js-utils.git",
29+
"loaders.css": "^0.1.2",
30+
"mobx": "^6.13.7",
31+
"mobx-react": "^9.2.0",
32+
"moment": "^2.30.1",
33+
"node-sass": "^9.0.0",
34+
"react": "^18.3.1",
35+
"react-dom": "^18.3.1",
36+
"react-i18next": "^15.4.1",
37+
"react-loaders": "^3.0.1",
38+
"react-router": "^6.30.0",
39+
"react-router-dom": "^6.30.0"
40+
},
41+
"devDependencies": {
42+
"@babel/core": "^7.26.10",
43+
"@babel/eslint-parser": "^7.27.0",
44+
"@babel/preset-env": "^7.26.9",
45+
"@babel/preset-react": "^7.26.3",
46+
"@babel/preset-typescript": "^7.27.0",
47+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.16",
48+
"@types/jest": "^29.5.14",
49+
"@types/react-dom": "^19.1.1",
50+
"@types/webpack-env": "^1.18.8",
51+
"@typescript-eslint/eslint-plugin": "^8.29.0",
52+
"@typescript-eslint/parser": "^8.29.0",
53+
"autoprefixer": "^10.4.21",
54+
"babel-loader": "^9.2.1",
55+
"copy-webpack-plugin": "^13.0.0",
56+
"css-loader": "^7.1.2",
57+
"eslint": "^9.24.0",
58+
"eslint-plugin-import": "^2.31.0",
59+
"eslint-plugin-jest": "^28.11.0",
60+
"eslint-plugin-jsx-a11y": "^6.10.2",
61+
"eslint-plugin-react": "^7.37.5",
62+
"eslint-plugin-react-hooks": "^5.2.0",
63+
"eslint-plugin-testing-library": "^7.1.1",
64+
"html-webpack-plugin": "^5.6.3",
65+
"identity-obj-proxy": "^3.0.0",
66+
"jest": "^29.7.0",
67+
"mini-css-extract-plugin": "^2.9.2",
68+
"postcss-loader": "^8.1.1",
69+
"prettier": "^3.5.3",
70+
"react-refresh": "^0.17.0",
71+
"react-test-renderer": "^18.3.1",
72+
"sass-loader": "^16.0.5",
73+
"style-loader": "4.0.0",
74+
"tailwindcss": "^3.4.15",
75+
"terser-webpack-plugin": "^5.3.14",
76+
"ts-jest": "^29.3.1",
77+
"typescript": "^5.8.3",
78+
"webpack": "^5.98.0",
79+
"webpack-bundle-analyzer": "^4.10.2",
80+
"webpack-cli": "^6.0.1",
81+
"webpack-dashboard": "^3.3.8",
82+
"webpack-dev-server": "^5.2.1"
83+
}
84+
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: [
3+
require('tailwindcss'),
4+
require('autoprefixer'),
5+
],
6+
}

public/android-chrome-192x192.png

13.4 KB
Loading

0 commit comments

Comments
 (0)