forked from diplodoc-platform/components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
164 lines (164 loc) · 5.27 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "@doc-tools/components",
"description": "React компоненты для отрисовки документационного проекта",
"author": "YFM Team <[email protected]>",
"license": "MIT",
"version": "1.12.2",
"repository": {
"type": "git",
"url": "[email protected]:yandex-cloud/docs-components.git"
},
"files": [
"assets",
"build",
"styles"
],
"sideEffects": [
"./build/index.js",
"./build/i18n/index.js",
"./src/index.ts",
"./src/i18n/index.ts",
"*.scss"
],
"main": "build/index.js",
"typings": "build/index.d.ts",
"scripts": {
"deps:install": "npm ci",
"deps:truncate": "npm prune --production",
"lint": "run-p lint:js lint:styles lint:prettier",
"lint:fix": "run-s lint:js:fix lint:styles:fix lint:prettier:fix",
"lint:js": "eslint '**/*.{js,jsx,ts,tsx}'",
"lint:js:fix": "eslint '**/*.{js,jsx,ts,tsx}' --quiet --fix",
"lint:styles": "stylelint **/*.scss",
"lint:styles:fix": "stylelint **/*.scss --fix",
"lint:prettier": "prettier --check '**/*.{js,jsx,ts,tsx,css,scss,json,yaml,yml,md}'",
"lint:prettier:fix": "prettier --write '**/*.{js,jsx,ts,tsx,css,scss,json,yaml,yml,md}'",
"typecheck": "tsc --noEmit",
"svgo": "svgo --config svgo.config.js",
"svgo:all": "svgo --config svgo.config.js -r -f .",
"dev": "npm run storybook:start",
"start": "node dist",
"test": "jest --passWithNoTests",
"test:update": "jest -u",
"build:clean": "rimraf build",
"build:copy": "copyfiles -u 1 \"src/components/**/*.scss\" \"src/components/**/*.svg\" build",
"build:compile": "tsc -p tsconfig.publish.json",
"build": "npm run build:clean && npm run build:compile && npm run build:copy",
"storybook:start": "start-storybook -p 7008",
"storybook:build": "build-storybook -c .storybook -o storybook-static",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"dependencies": {
"@popperjs/core": "^2.11.2",
"bem-cn-lite": "^4.0.0",
"i18next": "^19.9.2",
"lodash": "^4.17.21",
"react-i18next": "^11.15.3",
"react-popper": "^2.2.5",
"scroll-into-view-if-needed": "^2.2.28"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0",
"@doc-tools/transform": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/parser": "^7.16.8",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-regenerator": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.8",
"@babel/preset-env": "^7.16.8",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.16.7",
"@doc-tools/transform": "^1.9.6",
"@storybook/addon-actions": "^5.3.21",
"@storybook/addon-knobs": "^5.3.18",
"@storybook/react": "^5.3.21",
"@types/enzyme": "^3.10.11",
"@types/jest": "^25.2.3",
"@types/lodash": "^4.14.178",
"@types/react": "^16.14.21",
"@types/react-dom": "^16.9.14",
"@yandex-cloud/eslint-config": "^1.0.0",
"@yandex-cloud/prettier-config": "^1.0.0",
"@yandex-cloud/stylelint-config": "^1.1.0",
"@yandex-cloud/tsconfig": "^1.0.0",
"autoprefixer": "^9.8.8",
"babel-jest": "^25.5.1",
"babel-loader": "^8.2.3",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"cache-loader": "^4.1.0",
"copyfiles": "^2.4.1",
"css-loader": "^3.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.6.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^4.1.6",
"husky": "^7.0.4",
"jest": "^25.5.4",
"lint-staged": "^12.1.7",
"mini-css-extract-plugin": "0.9.0",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.8",
"postcss": "^8.4.5",
"postcss-loader": "^3.0.0",
"prettier": "^2.5.1",
"react-hot-loader": "^4.13.0",
"react-svg-loader": "^3.0.3",
"resolve-url-loader": "^3.1.4",
"sass-loader": "^8.0.2",
"storybook-host": "^5.2.0",
"storybook-readme": "^5.0.9",
"style-loader": "^1.3.0",
"stylelint": "^14.2.0",
"stylus-loader": "^3.0.2",
"svg-sprite-loader": "^4.3.0",
"svgo": "^2.8.0",
"terser-webpack-plugin": "^2.3.8",
"thread-loader": "^2.1.3",
"ts-jest": "^25.5.1",
"typescript": "^4.5.4",
"url-loader": "^4.1.1",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-manifest-plugin": "^2.2.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0 --fix",
"prettier --write"
],
"*.{css,scss}": [
"stylelint --fix",
"prettier --write"
],
"*.{json,yaml,yml,md}": [
"prettier --write"
],
"*.svg": [
"npm run svgo"
]
},
"keywords": [
"markdown",
"yandex",
"docs",
"yfm",
"documentation",
"tool",
"tools",
"components"
]
}