-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 3.36 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": "checkout-ui-settings",
"main": "index.js",
"license": "MIT",
"private": false,
"scripts": {
"test": "jest --verbose",
"dev": "webpack --watch --mode=production",
"build": "webpack --watch --mode=production --config ./webpack.config.ts",
"build:dev": "webpack --mode=development --config ./webpack.config.ts --watch",
"build:dev-compile": "webpack --mode=development --config ./webpack.config.ts",
"dev:link": "yarn build:dev-compile & vtex link",
"lint": "eslint --fix . --ext .ts,.tsx,.js,.jsx",
"lint:node": "eslint --ext js,jsx,ts,tsx ./node",
"prepare": "husky install"
},
"dependencies": {
"@apollo/client": "^3.7.1",
"@vtex/styleguide": "^9.97.5",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
"react": "16.9.x",
"react-apollo": "^3.1.5",
"react-dom": "16.9.x",
"react-router-dom": "^6.3.0",
"swiper": "^8.4.2",
"vtex-tachyons": "^3.2.2"
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/jquery": "^3.5.14",
"@types/node": "^18.7.18",
"@types/react": "^18.0.23",
"@types/react-dom": "^18.0.6",
"@types/webpack-dev-server": "^4.7.2",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"@vtex/prettier-config": "^1.0.0",
"@vtex/tsconfig": "^0.6.0",
"babel-loader": "^8.2.5",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^6.7.1",
"eslint": "^8.23.1",
"eslint-config-vtex": "^15.0.1",
"eslint-config-vtex-react": "^9.0.1",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-vtex": "^2.2.1",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"prettier": "^2.7.1",
"sass": "^1.54.9",
"sass-loader": "^13.0.2",
"style-loader": "^3.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.0"
},
"prettier": "@vtex/prettier-config",
"lint-staged": {
"**/*.{js,jsx,ts,tsx,css,scss}": "prettier --write . --ignore-unknown",
"**/*.{js,jsx,ts,tsx}": "eslint --cache --fix"
},
"jest": {
"collectCoverage": false,
"collectCoverageFrom": [
"checkout/react/**/*.{ts,tsx,js,jsx}"
],
"coverageDirectory": "coverage",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy"
}
}
}