-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
162 lines (162 loc) · 5.18 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
{
"name": "react-file-utils",
"version": "0.0.0-development",
"description": "React components for managing files and images",
"author": "GetStream",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/getstream/react-file-utils.git"
},
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/index.js",
"engines": {
"node": "10.* || >= 11.* || >= 12.*",
"npm": ">=5"
},
"scripts": {
"test": "cross-env CI=1 react-scripts test",
"test:watch": "react-scripts test --env=jsdom",
"docs": "styleguidist build",
"docs-server": "styleguidist server",
"prettier": "prettier --list-different '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc",
"prettier-fix": "prettier --write '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc",
"eslint": "eslint '**/*.{js,ts,tsx,md}' --max-warnings 0",
"eslint-fix": "eslint --fix '**/*.{js,ts,tsx,md}' --max-warnings 0",
"lint": "prettier --list-different '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc && eslint '**/*.{js,ts,tsx,md}' --max-warnings 0 && stylelint '**/*.{css,scss}'",
"lint-fix": "prettier --write '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc && eslint --fix '**/*.{js,ts,tsx,md}' --max-warnings 0 && stylelint --fix '**/*.{css,scss}'",
"types": "tsc --strict",
"build": "rm -rf dist && yarn types && rollup -c && cp -R src/styles dist/",
"start": "tsc --watch",
"analyze": "size-limit --why",
"prepare": "yarn run build",
"predeploy": "",
"deploy": "",
"semantic-release": "semantic-release"
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
},
"husky": {
"hooks": {
"pre-commit": "hooks/pre-commit-format.sh && hooks/pre-commit-reject-binaries.py"
}
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
],
"plugins": [
"stylelint-prettier"
],
"rules": {
"prettier/prettier": true
}
},
"peerDependencies": {
"react": "^18.0.0 || ^17.0.0 || ^16.8.0",
"react-dom": "^18.0.0 || ^17.0.0 || ^16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.13.10",
"@babel/node": "^7.0.0",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime-corejs2": "^7.13.10",
"@rollup/plugin-typescript": "^8.2.0",
"@rollup/plugin-url": "^4.0.0",
"@semantic-release/changelog": "^6.0.1",
"@size-limit/preset-big-lib": "^4.10.2",
"@types/jest": "^26.0.20",
"@types/react": "^18.0.5",
"@types/react-dom": "^18.0.1",
"@types/react-file-icon": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.5",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^7.0.0-beta.3",
"babel-register": "^7.0.0-beta.3",
"core-js": "^3.9.1",
"cross-env": "^5.1.4",
"eslint": "^5.0.1",
"eslint-config-react-app": "^3.0.6",
"eslint-loader": "^2.1.1",
"eslint-plugin-babel": "^5.2.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^22.2.1",
"eslint-plugin-jsx-a11y": "^6.2.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-sonarjs": "^0.5.0",
"gh-pages": "^1.2.0",
"husky": "^1.3.1",
"postcss-color-function": "^4.0.1",
"postcss-cssnext": "^3.1.0",
"postcss-easy-import": "^3.0.0",
"postcss-import": "^12.0.0",
"postcss-loader": "^3.0.0",
"postcss-nested": "^4.2.1",
"postcss-safe-parser": "^4.0.1",
"postcss-simple-vars": "^5.0.1",
"prettier": "^2.2.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-scripts": "^5.0.1",
"react-styleguidist": "^11.2.0",
"rollup": "^1.27.11",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-url": "^1.4.0",
"semantic-release": "^18.0.1",
"size-limit": "^4.10.2",
"stylelint": "^9.10.1",
"stylelint-config-prettier": "^6.0.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-prettier": "^1.1.1",
"ts-jest": "^26.5.3",
"ts-loader": "^8.0.17",
"typescript": "^4.2.3"
},
"files": [
"dist"
],
"size-limit": [
{
"path": "dist/index.es.js",
"limit": "50 KB",
"import": "{ createComponent }"
},
{
"path": "dist/index.css",
"limit": "10 KB",
"webpack": false
}
],
"dependencies": {
"react-dropzone": "^12.0.5"
}
}