|
20 | 20 | ], |
21 | 21 | "license": "MIT", |
22 | 22 | "engines": { |
23 | | - "node": ">=14", |
| 23 | + "node": ">=16", |
24 | 24 | "npm": ">=6.4.1" |
25 | 25 | }, |
26 | 26 | "scripts": { |
27 | 27 | "build": "lerna run --concurrency 1 --stream --scope \"@farfetch/*\" build", |
28 | 28 | "build:watch": "lerna run --parallel --concurrency=9999 --scope \"@farfetch/*\" build:watch", |
| 29 | + "build:copy-package-json": "lerna run --parallel --concurrency=9999 --scope \"@farfetch/*\" build:copy-package-json", |
29 | 30 | "clean": "scripts/clean.sh && yarn clean:build", |
30 | 31 | "clean:build": "lerna run --concurrency 4 --no-bail --parallel --scope \"@farfetch/*\" clean", |
31 | 32 | "lint": "npx eslint . --ext .js,.ts,.jsx,.tsx,.mts,.mjs,.cjs", |
32 | 33 | "postinstall": "patch-package", |
33 | 34 | "format": "prettier --write '**/*.{js,ts,jsx,tsx,mts,mjs,cjs,json,md}'", |
34 | 35 | "test": "rimraf coverage && yarn clean:build && jest", |
| 36 | + "test:e2e:build": "cross-env TS_NODE_PROJECT=\"tests/e2e/tsconfig.json\" node --loader ts-node/esm node_modules/webpack-cli/bin/cli.js --config tests/e2e/webpack.config.ts", |
| 37 | + "test:e2e:server": "tests/e2e/scripts/start-local-server.sh", |
| 38 | + "test:e2e:run": "playwright test --config=tests/e2e/playwright.config.ts", |
| 39 | + "test:e2e:run:critical": "playwright test --config=tests/e2e/playwright.config.ts --project=critical-tests", |
| 40 | + "test:e2e:run:non-critical": "playwright test --config=tests/e2e/playwright.config.ts --project=non-critical-tests", |
35 | 41 | "prepare": "husky install", |
36 | 42 | "yalc:publish": "scripts/yalc-publish.sh", |
37 | 43 | "yalc:push": "scripts/yalc-push.sh", |
38 | 44 | "ci:types": "yarn ci:types:runtime && yarn ci:types:tests", |
39 | 45 | "ci:types:runtime": "lerna run --concurrency 4 --no-bail --parallel --scope \"@farfetch/*\" ci:types", |
40 | 46 | "ci:types:tests": "tsc -p tsconfig.ci.tests.json", |
41 | 47 | "ci:release": "scripts/release.sh", |
| 48 | + "ci:release:dry-run": "yarn ci:release --dry-run", |
42 | 49 | "dev:link": "lerna run --concurrency 1 --stream --scope \"@farfetch/*\" dev:link", |
43 | 50 | "dev:unlink": "lerna exec --concurrency 1 --stream --scope \"@farfetch/*\" 'cd dist && yarn unlink'", |
44 | 51 | "release:git": "scripts/release-git.sh" |
|
50 | 57 | "@babel/preset-typescript": "^7.13.0", |
51 | 58 | "@commitlint/cli": "^17.0.1", |
52 | 59 | "@commitlint/config-conventional": "^17.0.0", |
| 60 | + "@playwright/test": "^1.40.1", |
53 | 61 | "@testing-library/jest-dom": "^5.11.4", |
54 | 62 | "@testing-library/react": "^13.3.0", |
55 | 63 | "@types/invariant": "^2.2.34", |
|
61 | 69 | "@types/redux-mock-store": "^1.0.3", |
62 | 70 | "@types/url-parse": "^1.4.3", |
63 | 71 | "@types/uuid": "3.4.0", |
64 | | - "@typescript-eslint/eslint-plugin": "5.54.0", |
65 | | - "@typescript-eslint/parser": "5.53.0", |
| 72 | + "@types/webpack-env": "^1.18.4", |
| 73 | + "@typescript-eslint/eslint-plugin": "6.21.0", |
| 74 | + "@typescript-eslint/parser": "6.21.0", |
66 | 75 | "babel-eslint": "^10.1.0", |
| 76 | + "babel-loader": "^9.1.3", |
67 | 77 | "browserslist-config-google": "^2.0.0", |
68 | 78 | "core-js": "^3.6.5", |
| 79 | + "cross-env": "^7.0.3", |
| 80 | + "css-loader": "^6.9.1", |
69 | 81 | "eslint": "^8.16.0", |
70 | 82 | "eslint-config-prettier": "^8.5.0", |
71 | 83 | "eslint-config-react-app": "^7.0.1", |
|
81 | 93 | "faker": "^5.5.3", |
82 | 94 | "fs-extra": "^10.1.0", |
83 | 95 | "gitpkg": "^1.0.0-beta.4", |
| 96 | + "html-webpack-plugin": "^5.6.0", |
84 | 97 | "husky": "^7.0.4", |
85 | 98 | "jest": "^28.1.0", |
86 | 99 | "jest-environment-jsdom": "^28.1.0", |
87 | 100 | "jest-localstorage-mock": "^2.4.0", |
88 | 101 | "jest-watch-typeahead": "^1.1.0", |
89 | 102 | "lerna": "^5.0.0", |
90 | 103 | "lint-staged": "^12.4.2", |
| 104 | + "local-web-server": "^5.3.0", |
| 105 | + "lodash-es": "^4.17.21", |
91 | 106 | "msw": "^1.1.0", |
92 | 107 | "patch-package": "^6.5.1", |
| 108 | + "postcss": "^8.4.33", |
| 109 | + "postcss-loader": "^8.0.0", |
| 110 | + "postcss-preset-env": "^9.3.0", |
93 | 111 | "postinstall-postinstall": "^2.1.0", |
94 | 112 | "prettier": "^2.6.2", |
95 | 113 | "react": "^18.2.0", |
96 | 114 | "react-dom": "^18.2.0", |
| 115 | + "react-router-dom": "^6.21.1", |
| 116 | + "redux-thunk": "2.4.2", |
97 | 117 | "rimraf": "^3.0.2", |
98 | | - "typescript": "5.0.2" |
| 118 | + "style-loader": "^3.3.4", |
| 119 | + "tailwindcss": "^3.4.1", |
| 120 | + "ts-node": "^10.9.2", |
| 121 | + "typescript": "5.3.3", |
| 122 | + "webpack": "^5.89.0", |
| 123 | + "webpack-cli": "^5.1.4" |
99 | 124 | }, |
100 | 125 | "resolutions": { |
101 | 126 | "@babel/core": "7.16.0", |
102 | 127 | "@babel/preset-env": "7.16.4", |
103 | | - "@typescript-eslint/eslint-plugin": "5.54.0", |
| 128 | + "@typescript-eslint/eslint-plugin": "6.21.0", |
104 | 129 | "color-string": "^1.6.0", |
105 | 130 | "css-what": "^5.0.1", |
106 | 131 | "dot-prop": "^6.0.1", |
|
0 commit comments