Skip to content

Commit f38e5a3

Browse files
authored
Merge pull request #19 from solved-ac/feature/fix-peers
Feature/fix peers
2 parents 5a2069b + 6df4d64 commit f38e5a3

File tree

1 file changed

+31
-26
lines changed

1 file changed

+31
-26
lines changed

package.json

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,26 @@
66
"license": "MIT",
77
"repository": "solved-ac/ui-react",
88
"homepage": "https://github.com/solved-ac/ui-react",
9-
"main": "dist/index.js",
10-
"module": "dist/index.modern.js",
11-
"source": "src/index.tsx",
12-
"engines": {
13-
"node": ">=10"
9+
"source": "./src/index.tsx",
10+
"main": "./dist/index.js",
11+
"jsnext:main": "./dist/index.modern.js",
12+
"module": "./dist/index.module.js",
13+
"syntax": {
14+
"esmodules": "./dist/index.modern.js"
1415
},
16+
"exports": {
17+
".": {
18+
"browser": "./dist/index.module.js",
19+
"import": "./dist/index.module.js",
20+
"require": "./dist/index.js"
21+
}
22+
},
23+
"files": [
24+
"dist"
25+
],
1526
"scripts": {
16-
"build": "microbundle --no-compress --format modern,cjs --jsx React.createElement",
17-
"start": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement",
27+
"build": "microbundle --no-compress -f cjs,esm,modern --jsx React.createElement --jsxImportSource react",
28+
"start": "microbundle watch --no-compress -f cjs,esm,modern --jsx React.createElement --jsxImportSource react",
1829
"prepare": "run-s build",
1930
"test": "run-s test:unit test:lint test:build",
2031
"test:build": "run-s build",
@@ -28,27 +39,23 @@
2839
"peerDependencies": {
2940
"@emotion/react": ">=11",
3041
"@emotion/styled": ">=11",
31-
"react": ">=17",
42+
"@floating-ui/react-dom-interactions": "^0.8.0",
3243
"react-dom": ">=17",
33-
"@floating-ui/react-dom-interactions": "^0.8.0"
34-
},
35-
"dependencies": {
36-
"@emotion/react": "^11.1.5",
37-
"@emotion/styled": "^11.1.5",
38-
"react": "^17.0.1",
39-
"react-dom": "^17.0.1",
40-
"@floating-ui/react-dom-interactions": "^0.8.0"
44+
"react": ">=17"
4145
},
4246
"devDependencies": {
4347
"@babel/plugin-proposal-decorators": "^7.17.9",
4448
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
49+
"@emotion/react": "^11.1.5",
50+
"@emotion/styled": "^11.1.5",
51+
"@floating-ui/react-dom-interactions": "^0.8.0",
4552
"@testing-library/jest-dom": "^4.2.4",
4653
"@testing-library/react": "^9.5.0",
4754
"@testing-library/user-event": "^7.2.1",
4855
"@types/jest": "^25.1.4",
4956
"@types/node": "^12.12.38",
50-
"@types/react": "^18.0.9",
5157
"@types/react-dom": "^18.0.3",
58+
"@types/react": "^18.0.9",
5259
"@typescript-eslint/eslint-plugin": "^5.22.0",
5360
"@typescript-eslint/parser": "^5.22.0",
5461
"babel-eslint": "^10.0.3",
@@ -57,29 +64,27 @@
5764
"babel-plugin-transform-react-jsx": "^6.24.1",
5865
"cross-env": "^7.0.2",
5966
"emotion-reset": "^3.0.1",
60-
"eslint": "^8.15.0",
6167
"eslint-config-airbnb": "^18.2.1",
6268
"eslint-config-prettier": "^6.7.0",
63-
"eslint-config-standard": "^14.1.0",
6469
"eslint-config-standard-react": "^9.2.0",
70+
"eslint-config-standard": "^14.1.0",
6571
"eslint-plugin-import": "^2.18.2",
6672
"eslint-plugin-jsx-a11y": "^6.5.1",
6773
"eslint-plugin-node": "^11.0.0",
6874
"eslint-plugin-prettier": "^3.1.1",
6975
"eslint-plugin-promise": "^4.2.1",
70-
"eslint-plugin-react": "^7.29.4",
7176
"eslint-plugin-react-hooks": "^4.4.0",
77+
"eslint-plugin-react": "^7.29.4",
7278
"eslint-plugin-standard": "^4.0.1",
79+
"eslint": "^8.15.0",
7380
"gh-pages": "^2.2.0",
7481
"microbundle": "^0.15.0",
7582
"npm-run-all": "^4.1.5",
7683
"polished": "^4.2.2",
7784
"prettier": "^2.6.2",
85+
"react-dom": "^17.0.1",
7886
"react-scripts": "^5.0.1",
79-
"typescript": "^4.6.4",
80-
"@floating-ui/react-dom-interactions": "^0.8.0"
81-
},
82-
"files": [
83-
"dist"
84-
]
87+
"react": "^17.0.1",
88+
"typescript": "^4.6.4"
89+
}
8590
}

0 commit comments

Comments
 (0)