-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
114 lines (114 loc) · 5.09 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
{
"name": "marvel-heroes",
"version": "0.1.0",
"description": "Marvel Heroes",
"license": "MIT",
"private": true,
"scripts": {
"clean": "rm -rf build coverage lighthouse stats.json",
"clean:all": "npm run clean && rm -rf node_modules package-lock.json",
"start": "API=stubs webpack serve --mode=development --host 0.0.0.0",
"start:prod": "API=stubs webpack serve --mode=production --compress --host 0.0.0.0",
"start:stubs": "npm run start",
"start:stubs:no-delay": "STUB_NO_DELAY=1 API=stubs webpack serve --mode=development --host 0.0.0.0",
"start:stubs:prod": "npm run start:prod",
"start:stubs:prod:no-delay": "STUB_NO_DELAY=1 API=stubs webpack serve --mode=production --compress --host 0.0.0.0",
"start:marvel.com": "API=marvel.com webpack serve --mode=development --host 0.0.0.0",
"start:marvel.com:no-delay": "STUB_NO_DELAY=1 API=marvel.com webpack serve --mode=development --host 0.0.0.0",
"start:marvel.com:prod": "API=marvel.com webpack serve --mode=production --compress --host 0.0.0.0",
"build": "npm run clean && API=stubs node --trace-deprecation node_modules/.bin/webpack --mode=development",
"build:prod": "npm run clean && API=marvel.com webpack --mode=production",
"build:prod:analyze": "npm run clean && API=marvel.com webpack --mode=production --analyze",
"test": "API=stubs jest --randomize --verbose",
"test:coverage": "API=stubs jest --randomize --coverage",
"test:e2e": "API=stubs playwright test",
"test:e2e:stubs": "npm run test:e2e",
"audit": "npm run clean && playwright test --config=playwright-lighthouse.config.ts",
"audit:debug": "npm run clean && playwright test --config=playwright-lighthouse.config.ts --debug",
"test:e2e:stubs:debug": "API=stubs playwright test --debug",
"test:e2e:marvel.com": "API=marvel.com playwright test",
"test:e2e:marvel.com:debug": "API=marvel.com playwright test --debug",
"tsc": "tsc",
"format": "prettier --write '**/*'",
"lint": "npm run tsc && eslint . '**/*.{js,ts,tsx}' && stylelint '**/*.scss'",
"prepare": "husky install",
"precommit": "lint-staged --verbose",
"prepush": "npm run test && npm run test:e2e:stubs",
"npm:update": "npm run clean:all && npx npm-check-updates --upgrade && npm install",
"count-loc:js": "git ls-files | grep --extended-regexp '\\.(jsx?|tsx?)$' | xargs wc -l",
"count-loc:js:src": "git ls-files | grep --invert-match --extended-regexp '\\.test(\\..*)?\\.(jsx?|tsx?)$' | grep --invert-match '__mocks__' | grep --extended-regexp 'src/.*\\.(jsx?|tsx?)$' | xargs wc -l",
"count-loc:js:tests": "git ls-files | grep --extended-regexp '\\.test(\\..*)?\\.(jsx?|tsx?)$' | xargs wc -l",
"count-loc:css": "git ls-files | grep --extended-regexp '\\.s?css$' | xargs wc -l"
},
"dependencies": {
"@sentry/react": "^7.54.0",
"@sentry/tracing": "^7.54.0",
"@tkrotoff/fetch": "^0.16.0",
"blueimp-md5": "^2.19.0",
"bootstrap": "^5.3.0",
"core-js": "^3.30.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.11.2",
"throw-on": "^0.8.0"
},
"devDependencies": {
"@babel/core": "^7.22.1",
"@babel/preset-env": "^7.22.4",
"@babel/preset-react": "^7.22.3",
"@babel/preset-typescript": "^7.21.5",
"@playwright/test": "^1.34.3",
"@prettier/plugin-xml": "^2.2.0",
"@testing-library/react": "^14.0.0",
"@tkrotoff/stub-server": "^0.13.0",
"@types/blueimp-md5": "^2.18.0",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.2",
"@types/react-dom": "^18.2.4",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"babel-loader": "^9.1.2",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"eslint": "^8.41.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-playwright": "^0.12.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-testing-library": "^5.11.0",
"eslint-plugin-unicorn": "^47.0.0",
"html-webpack-plugin": "^5.5.1",
"html-webpack-tags-plugin": "^3.0.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lighthouse": "^9.6.8",
"lint-staged": "^13.2.2",
"mini-css-extract-plugin": "^2.7.6",
"playwright-lighthouse": "^2.2.2",
"postcss-loader": "^7.3.2",
"postcss-preset-env": "^8.4.2",
"prettier": "^2.8.8",
"purgecss-webpack-plugin": "^5.0.0",
"react-test-renderer": "^18.2.0",
"sass": "^1.62.1",
"sass-loader": "^13.3.1",
"style-loader": "^3.3.3",
"stylelint": "^15.6.2",
"stylelint-config-twbs-bootstrap": "^10.0.0",
"stylelint-prettier": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-bundle-analyzer": "^4.9.0",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0"
}
}