react-sync-board 0.7.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,96 +1,68 @@
1
1
  {
2
2
  "name": "react-sync-board",
3
- "version": "0.7.1",
4
- "description": "",
5
- "main": "dist/cjs/index.js",
6
- "module": "dist/esm/index.js",
7
- "scripts": {
8
- "start": "npm run storybook",
9
- "dev": "rollup -c -w",
10
- "babel": "npm run clean:babel && babel src -d ./lib",
11
- "build": "npm run clean:dist && rollup -c",
12
- "clean:babel": "rm -rf ./lib && mkdir lib",
13
- "clean:lib": "rm -rf ./lib && mkdir lib",
14
- "clean:dist": "rm -rf ./dist && mkdir dist",
15
- "lint": "eslint src",
16
- "test": "jest -i",
17
- "test:coverage": "npm run test -- --coverage",
18
- "storybook": "start-storybook -p 6006",
19
- "prepare": "npm run build",
20
- "version": "git changelog -n -t $npm_package_version && git add CHANGELOG.md",
21
- "build-storybook": "build-storybook"
3
+ "version": "1.0.0",
4
+ "description": "React-sync-board is a board for react",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "main": "./dist/react-sync-board.umd.cjs",
10
+ "module": "./dist/react-sync-board.js",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/react-sync-board.js",
14
+ "require": "./dist/react-sync-board.umd.cjs"
15
+ }
22
16
  },
23
- "author": "",
17
+ "author": "Jérémie Pardou",
24
18
  "license": "MIT",
25
19
  "repository": {
26
20
  "type": "git",
27
21
  "url": "https://github.com/jrmi/react-sync-board"
28
22
  },
29
- "homepage": "",
30
- "devDependencies": {
31
- "@babel/core": "^7.14.6",
32
- "@babel/preset-env": "^7.14.7",
33
- "@babel/preset-react": "^7.14.5",
34
- "@rollup/plugin-alias": "^3.1.2",
35
- "@rollup/plugin-babel": "^5.3.0",
36
- "@rollup/plugin-commonjs": "^19.0.0",
37
- "@rollup/plugin-image": "^2.0.6",
38
- "@rollup/plugin-node-resolve": "^13.0.0",
39
- "@scripters/use-socket.io": "github:jrmi/use-socket.io#updated-v2",
40
- "@storybook/addon-actions": "^6.4.21",
41
- "@storybook/addon-essentials": "^6.4.21",
42
- "@storybook/addon-links": "^6.4.21",
43
- "@storybook/react": "^6.4.21",
44
- "babel-eslint": "^10.1.0",
45
- "babel-jest": "^26.3.0",
46
- "babel-loader": "^8.1.0",
47
- "coveralls": "^3.1.0",
48
- "eslint": "^7.9.0",
49
- "eslint-config-airbnb-base": "^14.2.0",
50
- "eslint-config-prettier": "^8.3.0",
51
- "eslint-import-resolver-alias": "^1.1.2",
52
- "eslint-plugin-import": "^2.23.4",
53
- "eslint-plugin-prettier": "^3.4.0",
54
- "eslint-plugin-react": "^7.24.0",
55
- "eslint-plugin-react-hooks": "^4.2.0",
56
- "eslint-plugin-storybook": "^0.5.8",
57
- "final-form": "^4.20.2",
58
- "jest": "^27.0.5",
59
- "postcss-preset-env": "^6.7.0",
60
- "rc-slider": "^9.7.2",
61
- "react": "^17.0.2",
62
- "react-color": "^2.19.3",
63
- "react-dom": "^17.0.2",
64
- "react-final-form": "^6.5.3",
65
- "react-useportal": "^1.0.16",
66
- "recoil": "^0.7.0",
67
- "rollup": "^2.52.7",
68
- "rollup-plugin-analyzer": "^4.0.0",
69
- "rollup-plugin-css-only": "^3.1.0",
70
- "rollup-plugin-terser": "^7.0.2",
71
- "styled-components": "^5.3.0",
72
- "wire.io": "^3.1.2"
23
+ "scripts": {
24
+ "dev": "vite",
25
+ "build": "tsc && vite build",
26
+ "build:website": "tsc && BUILD_WEBSITE='true' vite build",
27
+ "watch": "tsc && vite build --watch",
28
+ "preview": "vite preview",
29
+ "lint": "eslint src",
30
+ "version": "git changelog -n -t $npm_package_version && git add CHANGELOG.md"
73
31
  },
74
32
  "peerDependencies": {
75
- "react": ">= 16",
76
- "react-dom": ">= 16",
77
- "recoil": ">= 0.5.2"
33
+ "react": ">= 18",
34
+ "react-dom": ">= 18"
78
35
  },
79
36
  "dependencies": {
80
- "@emotion/react": "^11.9.0",
81
- "@emotion/styled": "^11.8.1",
82
- "@react-hookz/web": "^13.2.1",
37
+ "@emotion/react": "^11.10.5",
38
+ "@emotion/styled": "^11.10.5",
39
+ "@react-hookz/web": "^22.0.0",
83
40
  "color2k": "^2.0.0",
84
- "dayjs": "^1.11.0",
85
41
  "fast-deep-equal": "^3.1.3",
86
42
  "lodash.findlast": "^4.6.0",
87
43
  "nanoid": "^3.3.2",
88
- "randomcolor": "^0.6.2"
44
+ "randomcolor": "^0.6.2",
45
+ "zustand": "^4.3.2"
89
46
  },
90
- "files": [
91
- "dist"
92
- ],
93
- "directories": {
94
- "test": "test"
47
+ "devDependencies": {
48
+ "@scripters/use-socket.io": "github:jrmi/use-socket.io#updated-v2",
49
+ "@types/react": "^18.0.26",
50
+ "@types/react-dom": "^18.0.9",
51
+ "@typescript-eslint/eslint-plugin": "^5.48.2",
52
+ "@vitejs/plugin-react": "^3.0.0",
53
+ "eslint": "^8.32.0",
54
+ "eslint-config-prettier": "^8.6.0",
55
+ "eslint-plugin-prettier": "^4.2.1",
56
+ "eslint-plugin-react": "^7.32.1",
57
+ "eslint-plugin-react-hooks": "^4.6.0",
58
+ "rc-slider": "^9.7.2",
59
+ "react": "^18.2.0",
60
+ "react-color": "^2.19.3",
61
+ "react-dom": "^18.2.0",
62
+ "react-final-form": "^6.5.3",
63
+ "styled-components": "^5.3.0",
64
+ "typescript": "^4.9.3",
65
+ "vite": "^4.0.0",
66
+ "wire.io": "^3.3.2"
95
67
  }
96
68
  }