forked from gravity-ui/landing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 2.97 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
{
"name": "landing",
"version": "0.1.0",
"private": true,
"homepage": "https://gravity-ui.com/",
"dependencies": {
"@doc-tools/transform": "^2.16.0",
"@gravity-ui/components": "^2.1.0",
"@gravity-ui/icons": "^2.3.0",
"@gravity-ui/page-constructor": "^3.9.2",
"@gravity-ui/uikit": "^5.4.1",
"@mdx-js/mdx": "^2.3.0",
"@mdx-js/react": "^2.3.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"bem-cn-lite": "^4.1.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"lodash": "^4.17.21",
"next": "^12.3.4",
"next-global-css": "^1.3.1",
"prismjs": "^1.29.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-timeago": "^7.1.0",
"remark-gfm": "^3.0.1",
"remark-link-rewrite": "^1.0.7",
"typescript": "^4.5.5",
"url": "^0.11.0"
},
"devDependencies": {
"@gravity-ui/eslint-config": "^2.0.0",
"@gravity-ui/prettier-config": "^1.0.1",
"@gravity-ui/stylelint-config": "^2.0.0",
"@gravity-ui/tsconfig": "^1.0.0",
"@svgr/webpack": "^6.5.1",
"@types/jest": "^29.2.4",
"@types/lodash": "^4.14.197",
"@types/node": "^18.11.17",
"@types/prismjs": "^1.26.0",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@types/react-timeago": "^4.1.3",
"dotenv": "^16.0.3",
"eslint": "^8.27.0",
"eslint-plugin-testing-library": "^5.9.1",
"file-loader": "^6.2.0",
"gh-pages": "^4.0.0",
"next-compose-plugins": "^2.2.1",
"next-transpile-modules": "^10.0.0",
"prettier": "^2.7.1",
"raw-loader": "^4.0.2",
"sass": "^1.56.1",
"sass-loader": "^13.2.0",
"stylelint": "^14.15.0",
"svg-inline-loader": "^0.8.2",
"svgo": "^3.0.2",
"undici": "^5.14.0"
},
"overrides": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"@gravity-ui/uikit": "^5.4.1"
},
"scripts": {
"prepare": "husky install",
"start": "next dev",
"build": "next build",
"export": "next export -o build/",
"fetch-data": "node ./scripts/prefetch-data.mjs",
"prestart": "npm run fetch-data",
"prebuild": "npm run fetch-data",
"pretest": "npm run fetch-data",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:styles": "stylelint '{styles,src}/**/*.scss'",
"lint:prettier": "prettier --check '**/*.md'",
"lint": "npm run lint:js && npm run lint:styles && npm run lint:prettier",
"predeploy": "npm run build && npm run export",
"deploy": "echo 'gravity-ui.com' > ./build/CNAME && gh-pages -d build"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{scss}": [
"stylelint --fix --quiet"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix --quiet",
"prettier --write"
],
"*.md": [
"prettier --write"
]
}
}