-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 3.74 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "client-web",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:4000",
"dependencies": {
"formik": "^1.4.2",
"formik-semantic-ui": "^0.9.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-intl": "^2.7.2",
"react-router-dom": "^4.3.1",
"react-semantic-toasts": "^0.4.1",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.84.0",
"yup": "^0.26.7"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"analyze": "yarn build && source-map-explorer build/static/js/main.*",
"test:coverage": "react-scripts test --coverage",
"test:storybook": "react-scripts test --env=jsdom --json --outputFile=jest-test-results.json",
"eject": "react-scripts eject",
"generate": "plop",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"ci:codesmell": "sonar-scanner",
"prettify": "prettier --single-quote --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"lint": "tslint -p ./tsconfig.json",
"lint:fix": "tslint -p ./tsconfig.json --fix"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@storybook/addon-a11y": "^4.1.6",
"@storybook/addon-actions": "^4.1.6",
"@storybook/addon-info": "^4.1.6",
"@storybook/addon-jest": "^4.1.6",
"@storybook/addon-knobs": "^4.1.6",
"@storybook/addon-links": "^4.1.6",
"@storybook/addon-viewport": "^4.1.6",
"@storybook/addons": "^4.1.6",
"@storybook/react": "^4.1.6",
"@types/enzyme": "^3.1.15",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/faker": "^4.1.5",
"@types/jest": "23.3.12",
"@types/node": "10.12.18",
"@types/puppeteer": "^1.11.2",
"@types/react": "^16.7.18",
"@types/react-dom": "16.0.11",
"@types/react-intl": "^2.3.15",
"@types/react-router-dom": "^4.3.1",
"@types/react-test-renderer": "^16.0.3",
"@types/storybook__addon-a11y": "^3.3.1",
"@types/storybook__addon-actions": "^3.4.1",
"@types/storybook__addon-jest": "^3.4.1",
"@types/storybook__addon-knobs": "^4.0.0",
"@types/storybook__addon-links": "^3.3.3",
"@types/storybook__react": "^4.0.0",
"@types/yup": "^0.26.4",
"babel-loader": "^8.0.5",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-to-json": "^3.3.5",
"faker": "^4.1.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"lodash.kebabcase": "^4.1.1",
"lodash.snakecase": "^4.1.1",
"node-sass": "^4.11.0",
"plop": "^2.2.0",
"prettier": "^1.16.4",
"puppeteer": "^1.11.0",
"react-scripts": "2.1.3",
"react-test-renderer": "^16.7.0",
"require-context.macro": "^1.0.4",
"sonar-scanner": "^3.1.0",
"source-map-explorer": "^1.6.0",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^3.6.0",
"typescript": "3.2.2"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts, tsx}",
"!src/**/*.story.{ts,tsx}",
"!src/**/index.ts",
"!src/**/*.d.ts",
"!src/Utils/TestHelper/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"yarn lint:fix",
"git add"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --single-quote --write",
"git add"
]
}
}