-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
144 lines (144 loc) · 4.45 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
{
"name": "ant-extensions",
"version": "0.0.0",
"description": "Ant React Extensions",
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
"license": "MIT",
"private": true,
"workspaces": [
"modules/*"
],
"scripts": {
"bootstrap": "lerna bootstrap --use-workspaces",
"start:lerna": "lerna run start --parallel",
"start:test": "yarn build:test --watchAll",
"watch": "npm-run-all -c --parallel start:lerna start:test",
"start": "start-storybook -p 6003",
"prebuild": "lerna run build --stream",
"build:lib": "lerna run build:lib --stream",
"build:style": "lerna run build:style --stream",
"build:test": "yarn run:test --json --outputFile=./.storybook/jest-test-results.json",
"build:storybook": "build-storybook -o ./build",
"build": "npm-run-all build:lib build:test build:storybook",
"dist": "lerna run dist --stream",
"postdist": "lerna publish patch --tag-version-prefix='' --yes",
"run:test": "jest --ci --runInBand --verbose --detectOpenHandles",
"test:lint": "eslint --fix --ext=ts,tsx .",
"test:typecheck": "tsc -p tsconfig.test.json",
"test": "npm-run-all test:lint test:typecheck run:test"
},
"resolutions": {
"**/eslint": "^7.20.0"
},
"devDependencies": {
"@case/eslint-config": "^0.3.1",
"@storybook/addon-actions": "^6.1.20",
"@storybook/addon-contexts": "^5.3.21",
"@storybook/addon-docs": "^6.1.20",
"@storybook/addon-jest": "^6.1.20",
"@storybook/addon-knobs": "^6.1.20",
"@storybook/addon-links": "^6.1.20",
"@storybook/addon-options": "^5.3.21",
"@storybook/addon-storysource": "^6.1.20",
"@storybook/addons": "^6.1.20",
"@storybook/cli": "^6.1.20",
"@storybook/preset-ant-design": "^0.0.2",
"@storybook/preset-create-react-app": "^3.1.6",
"@storybook/react": "^6.1.20",
"@storybook/theming": "^6.1.20",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/storybook__addon-actions": "^5.2.1",
"@types/storybook__addon-knobs": "^5.2.1",
"@types/storybook__addon-links": "^5.2.1",
"@types/storybook__addon-options": "^5.2.1",
"@types/storybook__addons": "^5.2.1",
"@types/storybook__react": "^5.2.1",
"@types/testing-library__jest-dom": "^5.9.5",
"@types/testing-library__react": "^10.2.0",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"babel-loader": "^8.2.2",
"eslint": "^7.8.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"i18next-browser-languagedetector": "^6.0.1",
"jest": "^26.6.3",
"jest-transform-stub": "^2.0.0",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"lerna": "^3.22.1",
"less-loader": "^7.3.0",
"less-plugin-npm-import": "^2.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react-docgen-typescript-loader": "^3.7.2",
"react-scripts": "^4.0.3",
"storybook-addon-specifications": "^2.2.0",
"storybook-dark-mode": "^1.0.4",
"stylelint": "^13.11.0",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.1.2",
"ts-jest": "^26.5.2",
"ts-loader": "^8.0.17",
"typescript": "^4.2.2"
},
"peerDependencies": {
"@ant-design/icons": "^4.5.0",
"antd": "^4.12.3",
"i18next": "^19.9.0",
"i18next-browser-languagedetector": "^6.0.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-i18next": "^11.8.8"
},
"jest": {
"verbose": true,
"collectCoverage": true,
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"./jest/setup.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
},
"transform": {
"\\.(js|jsx|ts|tsx)$": "ts-jest",
"\\.svg$": "jest-transform-stub"
},
"modulePaths": [
"<rootDir>/modules",
"<rootDir>/node_modules"
],
"collectCoverageFrom": [
"modules/**/src/**/*.{ts,tsx}"
],
"coveragePathIgnorePatterns": [
"__tests__/",
"__stories__/",
"node_modules/"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"json",
"lcov",
"text",
"html"
]
}
}