generated from GeekyHacks/React_Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "bookstore_react",
"version": "0.1.0",
"private": true,
"homepage": "https://geekyhacks.github.io/BookStore_React/",
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.15.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@babel/plugin-syntax-jsx": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^6.0.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^21.0.0",
"stylelint-csstree-validator": "^1.9.0",
"stylelint-scss": "^3.21.0"
},
"description": "- clone the template to your local machine\r - Make sure you are in the root project directory inside `react_redux_template` folder\r - remove the `package-lock.json` file\r - Change the name in line `\"name\": \"react_reduxtemplate\"` in `package.json`\r - run the following command `npm install` to download the node_modules folder, which include all the packages included in the `package.json` file\r - run `npm start` to see if the react app is working or not\r - run `npx eslint \"**/*.{js,jsx}\"` to test eslint package, it should work smoothly\r - run `npx stylelint \"**/*.{css,scss}\"` to test stylelint package.\r - You are all set. Now you can use this Template for any react project.\r - You can edit the `READMETEMPLATE.md` to suit your project",
"main": "index.js",
"keywords": [],
"author": "GeekyHacks",
"license": "ISC"
}