-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
121 lines (121 loc) · 4.58 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
{
"name": "react-mui-ts-template",
"version": "0.1.0",
"description": "React, MUI and TypeScript template",
"private": false,
"homepage": "./",
"keywords": [
"emotion",
"es6",
"eslint",
"hooks",
"i18next",
"jest",
"mui",
"react",
"roboto",
"router",
"sass",
"spa",
"storybook",
"stylelint",
"typescript",
"vscode"
],
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@fontsource/roboto": "^4.5.8",
"@mui/icons-material": "^5.11.11",
"@mui/material": "^5.11.15",
"i18next": "^22.4.13",
"i18next-browser-languagedetector": "^7.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.2.0",
"react-router-dom": "^6.10.0",
"react-scripts": "5.0.1",
"web-vitals": "^3.3.0"
},
"devDependencies": {
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/node-logger": "^6.5.16",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"babel-plugin-named-exports-order": "^0.0.2",
"env-cmd": "^10.1.0",
"eslint": "^8.37.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.11",
"prop-types": "^15.8.1",
"sass": "^1.60.0",
"stylelint": "^15.3.0",
"stylelint-config-standard-scss": "^7.0.1",
"typescript": "^4.7.4",
"webpack": "^5.77.0"
},
"scripts": {
"build": "env-cmd --no-override -f ./.env-override/.env.production react-scripts build",
"build:d": "env-cmd --no-override -f ./.env-override/.env.development react-scripts build",
"build:l": "env-cmd --no-override -f ./.env-override/.env.local react-scripts build",
"build:q": "env-cmd --no-override -f ./.env-override/.env.qa react-scripts build",
"build:s": "env-cmd --no-override -f ./.env-override/.env.staging react-scripts build",
"eject": "react-scripts eject",
"init": "npm ci --loglevel=error --no-audit --no-fund",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src/",
"lint:f": "eslint --fix --ext .js,.jsx,.ts,.tsx src/",
"sb-build": "env-cmd --no-override -f ./.env-override/.env.production build-storybook -s public -o ./out/storybook/production",
"sb-build:d": "env-cmd --no-override -f ./.env-override/.env.development build-storybook -s public -o ./out/storybook/development",
"sb-build:l": "env-cmd --no-override -f ./.env-override/.env.local build-storybook -s public -o ./out/storybook/local",
"sb-build:q": "env-cmd --no-override -f ./.env-override/.env.qa build-storybook -s public -o ./out/storybook/qa",
"sb-build:s": "env-cmd --no-override -f ./.env-override/.env.staging build-storybook -s public -o ./out/storybook/staging",
"sbook": "env-cmd --no-override -f ./.env-override/.env.local start-storybook -p 4002 -s public",
"sbook-https": "env-cmd --no-override -f ./.env-override/.env.https.local start-storybook -p 4003 -s public --https --ssl-cert localhost.pem --ssl-key localhost-key.pem",
"slint": "stylelint \"src/**/*.{css,scss}\"",
"slint:f": "stylelint --fix \"src/**/*.{css,scss}\"",
"start": "env-cmd --no-override -f ./.env-override/.env.local react-scripts start",
"start-https": "env-cmd --no-override -f ./.env-override/.env.https.local react-scripts start",
"test": "env-cmd --no-override -f ./.env-override/.env.test react-scripts test --env=jsdom --coverage --coverageDirectory='./out/coverage' --watchAll=false"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts",
"src/**/*.tsx",
"!src/**/*.stories.tsx",
"!src/index.tsx",
"!src/react-app-env.d.ts",
"!src/util/web-vitals.ts",
"!src/app/index.tsx"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}