-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.77 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
{
"name": "sw",
"version": "0.0.1",
"repository": "https://github.com/KaiDoering/sw",
"private": true,
"engines": {
"node": ">=18.0.0",
"npm": ">=8.6.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.23",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
"eslint": "^8.37.0",
"eslint-config-airbnb": "^19.0.2",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-webpack-plugin": "^3.1.1",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"mini-css-extract-plugin": "^2.4.5",
"sass": "^1.60.0",
"sass-loader": "^12.3.0",
"style-loader": "^3.3.1",
"stylelint": "^15.4.0",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-webpack-plugin": "^4.1.0",
"terser-webpack-plugin": "^5.2.5",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.64.4",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.6.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@fontsource/roboto": "^4.5.8",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.11.16",
"@reduxjs/toolkit": "^1.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.5",
"react-router-dom": "^6.10.0",
"swapi-ts": "^1.0.1"
},
"scripts": {
"clean": "rm -rf ./dist",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx ./src",
"eslint:fix": "eslint --ext .js,.jsx,.ts,.tsx --fix ./src",
"stylelint": "stylelint 'src/**/*.{css,scss,sass}'",
"stylelint:fix": "stylelint --fix 'src/**/*.{css,scss,sass}'",
"serve": "webpack-dev-server --config webpack.dev.js",
"prebuild": "npm run clean",
"build": "webpack --config webpack.prod.js",
"test": "jest",
"coverage": "jest --collect-coverage"
},
"jest": {
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(ts|js)x?$": "ts-jest",
"^.+\\.svg$": "<rootDir>/src/__test__/file-transformer.js"
},
"transformIgnorePatterns": [
"node_modules/(?!swapi-ts)"
],
"moduleNameMapper": {
"^.+\\.(css|sass|scss)$": "identity-obj-proxy"
},
"setupFilesAfterEnv": [
"<rootDir>/src/__test__/setup.ts"
],
"collectCoverageFrom": [
"src/**/*.(js|jsx|ts|tsx)",
"!src/__test__/**",
"!src/**/*.d.ts"
]
}
}