chem-generic-ui 0.6.0-rc.2 → 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,6 +1,6 @@
1
1
  {
2
2
  "name": "chem-generic-ui",
3
- "version": "0.6.0-rc.2",
3
+ "version": "1.0.0",
4
4
  "main": "./dist/bundle.js",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -14,22 +14,11 @@
14
14
  "README.md"
15
15
  ],
16
16
  "scripts": {
17
- "analyze": "yarn build && yarn source-map-explorer dist/bundle.js --only-mapped --html tree.html",
18
- "start": "webpack-dev-server --config ./webpack.dev.js --hot",
17
+ "analyzer": "yarn webpack-bundle-analyzer stats.json",
18
+ "opt": "webpack --config ./webpack.config.js --profile --json > stats.json",
19
19
  "build": "webpack --config ./webpack.config.js",
20
- "cc:clean:dev5": "rm -rf /home/ubuntu/workspace/github/dev5/node_modules/chem-generic-ui/dist/*",
21
- "cc:cp:dev5": "cp -f ./dist/* /home/ubuntu/workspace/github/dev5/node_modules/chem-generic-ui/dist/.",
22
- "cc:cpp:dev5": "cp -f package.json /home/ubuntu/workspace/github/dev5/node_modules/chem-generic-ui/package.json",
23
- "cc:cp:spec": "cp -f ./dist/* /home/ubuntu/workspace/github/react-spectra-editor/node_modules/chem-generic-ui/dist/.",
24
- "cc:cpp:spec": "cp -f package.json /home/ubuntu/workspace/github/react-spectra-editor/node_modules/chem-generic-ui/package.json",
25
- "cc:ubuntu": "yarn build && yarn cc:clean:dev5 && yarn cc:cp:dev5 && yarn cc:cpp:dev5 && yarn cc:cp:spec",
26
- "cc:clean:dev6": "rm -rf /home/ubuntu/workspace/github/dev6/node_modules/chem-generic-ui/dist/*",
27
- "cc:cp:dev6": "cp -f ./dist/* /home/ubuntu/workspace/github/dev6/node_modules/chem-generic-ui/dist/.",
28
- "cc:cpp:dev6": "cp -f package.json /home/ubuntu/workspace/github/dev6/node_modules/chem-generic-ui/package.json",
29
- "cc:ubuntu6": "yarn build && yarn cc:clean:dev6 && yarn cc:cp:dev6 && yarn cc:cpp:dev6",
30
- "sass": "sass src:src --no-source-map",
31
- "test": "react-scripts test --env=jsdom --testPathIgnorePatterns=src/__tests__/helper/* src/__tests__/e2e/*",
32
- "eject": "react-scripts eject"
20
+ "test": "jest --verbose",
21
+ "testall": "jest --verbose --coverage --watchAll=false"
33
22
  },
34
23
  "dependencies": {
35
24
  "@fortawesome/fontawesome-svg-core": "^6.1.2",
@@ -39,19 +28,20 @@
39
28
  "ag-grid-community": "^28.2.1",
40
29
  "ag-grid-react": "^28.2.1",
41
30
  "date-fns": "^2.29.3",
31
+ "generic-ui-core": "^1.0.0",
42
32
  "lodash": "^4.17.21",
43
33
  "moment": "^2.29.4",
44
34
  "moment-precise-range-plugin": "^1.3.0",
45
35
  "numeral": "^2.0.6",
46
36
  "prop-types": "^15.8.1",
47
37
  "react-datepicker": "^4.8.0",
48
- "react-dnd": "^16.0.1",
49
- "react-dnd-html5-backend": "^16.0.1",
38
+ "react-dnd": "^14.0.3",
39
+ "react-dnd-html5-backend": "^14.0.3",
50
40
  "react-draggable": "^4.4.5",
51
41
  "react-dropzone": "^3.6.0",
52
42
  "react-select": "5.4.0",
53
43
  "reactflow": "^11.7.2",
54
- "uuid": "^8.3.2"
44
+ "uuid": "^9.0.0"
55
45
  },
56
46
  "peerDependencies": {
57
47
  "react": "^17.0.2",
@@ -59,24 +49,36 @@
59
49
  },
60
50
  "devDependencies": {
61
51
  "@babel/cli": "^7.17.6",
62
- "@babel/core": "^7.17.8",
52
+ "@babel/core": "^7.22.10",
63
53
  "@babel/eslint-parser": "^7.15.0",
64
54
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
55
+ "@babel/plugin-transform-modules-commonjs": "^7.22.5",
65
56
  "@babel/plugin-transform-react-jsx": "^7.22.3",
66
57
  "@babel/plugin-transform-runtime": "^7.17.0",
67
- "@babel/preset-env": "^7.16.11",
68
- "@babel/preset-react": "^7.16.7",
58
+ "@babel/preset-env": "^7.22.10",
59
+ "@babel/preset-react": "^7.22.5",
69
60
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
61
+ "@testing-library/dom": "^9.3.1",
62
+ "@testing-library/jest-dom": "^6.0.0",
63
+ "@testing-library/react": "12.1.5",
64
+ "@testing-library/user-event": "^14.4.3",
65
+ "babel-jest": "^29.6.2",
70
66
  "babel-loader": "^8.2.4",
71
67
  "css-loader": "^6.7.1",
72
68
  "eslint": "7.32.0",
73
69
  "eslint-config-airbnb": "^18.2.1",
74
70
  "eslint-config-prettier": "^8.8.0",
75
71
  "eslint-plugin-import": "^2.27.5",
72
+ "eslint-plugin-jest": "^27.2.3",
73
+ "eslint-plugin-jest-dom": "^5.0.2",
76
74
  "eslint-plugin-jsx-a11y": "^6.5.1",
77
75
  "eslint-plugin-prettier": "^4.2.1",
78
76
  "eslint-plugin-react": "^7.4.0",
79
77
  "eslint-plugin-react-hooks": "^4.3.0",
78
+ "identity-obj-proxy": "^3.0.0",
79
+ "jest": "^29.6.2",
80
+ "jest-environment-jsdom": "^29.6.2",
81
+ "jest-extended": "^4.0.1",
80
82
  "jsdoc-to-markdown": "^8.0.0",
81
83
  "postcss": "^8.4.8",
82
84
  "postcss-cli": "^9.1.0",
@@ -94,6 +96,7 @@
94
96
  "style-loader": "^3.3.1",
95
97
  "terser-webpack-plugin": "^5.3.3",
96
98
  "webpack": "^5.70.0",
99
+ "webpack-bundle-analyzer": "^4.9.0",
97
100
  "webpack-cli": "^4.9.2",
98
101
  "webpack-dev-server": "^4.7.4"
99
102
  },
@@ -1,7 +0,0 @@
1
- /*! @preserve
2
- * numeral.js
3
- * version : 2.0.6
4
- * author : Adam Draper
5
- * license : MIT
6
- * http://adamwdraper.github.com/Numeral-js/
7
- */