-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.95 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
{
"name": "react-code-review-editor",
"version": "1.0.0",
"main": "lib/index.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
"prettier": "@codefreak/prettier-config",
"files": [
"lib/components",
"lib/index.d.ts",
"lib/index.esm.js",
"lib/index.js"
],
"private": false,
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"antd": "^4.15.0",
"less": "^4.1.1",
"moment": "^2.29.1",
"prism-react-renderer": "^1.2.0",
"styled-components": "^5.2.1"
},
"scripts": {
"start": "react-scripts start",
"build": "rollup -c && yarn pack",
"test": "react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"lint:eslint": "eslint \"src/**/*.{ts,tsx,js,jsx}\"",
"fix:eslint": "eslint --fix \"src/**/*.{ts,tsx,js,jsx}\"",
"lint:prettier": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\"",
"fix:prettier": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\""
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@codefreak/eslint-config": "^0.1.3",
"@codefreak/prettier-config": "^0.1.2",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@storybook/addon-actions": "6.2.9",
"@storybook/addon-essentials": "6.2.9",
"@storybook/addon-links": "6.2.9",
"@storybook/node-logger": "6.2.9",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "6.2.9",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@types/jest": "^26.0.22",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/styled-components": "^5.1.9",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"antd": "^4.15.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"postcss": "^8.2.10",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"rollup": "^2.45.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.1.2"
},
"resolutions": {
"babel-loader": "8.1.0"
}
}