-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.66 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.66 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "react-setup",
"version": "1.0.0",
"description": "React setup with webpack, jest testing framework, linting",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --mode development --open --hot",
"build": "webpack --mode production",
"test": "jest --config ./config/test/jest.config.js",
"test:updateSnapshot": "npm run test -- --updateSnapshot",
"test:watch": "npm run test --watch",
"fix": "npm run fix:js && npm run fix:scss",
"fix:js": "prettier-eslint --write $PWD/'src/**/*.{js,jsx}'",
"fix:scss": "prettier-stylelint --write **/*.scss",
"lint": "npm run lint:scss && npm run lint:js",
"lint:scss": "stylelint **/*.scss --config .stylelintrc",
"lint:js": "eslint $PWD/'src/**/*.{js,jsx}' --config .eslintrc",
"validate": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PavanKumarPatruni/react-setup.git"
},
"keywords": [],
"author": "Pavan Kumar Patruni",
"license": "MIT",
"bugs": {
"url": "https://github.com/PavanKumarPatruni/react-setup/issues"
},
"homepage": "https://github.com/PavanKumarPatruni/react-setup#readme",
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-loader": "^8.1.0",
"css-loader": "^3.5.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-compat": "^3.5.1",
"eslint-plugin-extra-rules": "0.0.0-development",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"file-loader": "^6.0.0",
"html-loader": "^1.1.0",
"html-webpack-plugin": "^4.3.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest-sonar-reporter": "^2.0.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.14.1",
"prettier": "^1.19.1",
"prettier-eslint-cli": "^5.0.0",
"prettier-stylelint": "^0.4.2",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"stylelint": "^13.3.3",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.17.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"prop-types": "^15.7.2"
},
"prettier": {},
"husky": {
"hooks": {
"pre-commit": "npm run validate"
}
}
}