@complat/chemotion-converter-client 0.10.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/README.md ADDED
@@ -0,0 +1,56 @@
1
+ converter-client
2
+ ================
3
+
4
+ React client for the [converter-app](https://github.com/ComPlat/chemotion-converter-app).
5
+
6
+ Development setup
7
+ -----------------
8
+
9
+ We recomment to use the [nove version manager](https://github.com/nvm-sh/nvm) to install node.js and npm:
10
+
11
+ ```bash
12
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
13
+ ```
14
+
15
+ After following the instructions in the installation script, `nvm` should be available. The application can then be transpiled using:
16
+
17
+ ```bash
18
+ nvm install
19
+ npm install
20
+ npm run build
21
+ ```
22
+
23
+ While developing, the `webpack-dev-server` can be used to update the application on-the-fly:
24
+
25
+ ```bash
26
+ npm run serve
27
+ ```
28
+
29
+ Production setup
30
+ ----------------
31
+
32
+ For the production setup, the URL of the running [converter-app](https://github.com/ComPlat/chemotion-converter-app) needs to be provided as environment variable:
33
+
34
+ ```bash
35
+ nvm use
36
+ CONVERTER_APP_URL=https://example.com/api/v1 npm run build:prod
37
+ ```
38
+
39
+ After building the production setup, the files in `public` can be copied to the webserver:
40
+
41
+ ```bash
42
+ rsync -av public/ user@example.com:/var/www/public/
43
+ ```
44
+
45
+ ## Acknowledgments
46
+
47
+ This project has been funded by the **[DFG]**.
48
+
49
+ [![DFG Logo]][DFG]
50
+
51
+
52
+ Funded by the [Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)](https://www.dfg.de/) under the [National Research Data Infrastructure – NFDI4Chem](https://nfdi4chem.de/) – Projektnummer **441958208** since 2020.
53
+
54
+
55
+ [DFG]: https://www.dfg.de/en/
56
+ [DFG Logo]: https://www.dfg.de/zentralablage/bilder/service/logos_corporate_design/logo_negativ_267.png
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@complat/chemotion-converter-client",
3
+ "version": "0.10.0",
4
+ "main": "./public/bundle.js",
5
+ "files": [
6
+ "public",
7
+ "README.md"
8
+ ],
9
+ "scripts": {
10
+ "build:prod": "webpack --config webpack/prod.config.js --mode production",
11
+ "build": "webpack --config webpack/dev.config.js --mode development",
12
+ "watch": "webpack --config webpack/dev.config.js --watch --mode development",
13
+ "serve": "webpack-dev-server --config webpack/dev.config.js --open --mode development"
14
+ },
15
+ "license": "AGPL-3.0-or-later",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/ComPlat/chemotion-converter-client"
19
+ },
20
+ "dependencies": {
21
+ "bootstrap": "^3.3.7",
22
+ "jquery": "^3.4.0",
23
+ "lodash": "^4.17.21",
24
+ "popper.js": "^1.16.0",
25
+ "prop-types": "^15.8.1",
26
+ "react-select": "5.2.2"
27
+ },
28
+ "peerDependencies": {
29
+ "ag-grid-community": "^25.1.0",
30
+ "ag-grid-react": "^25.1.0",
31
+ "react": "^17.0.2",
32
+ "react-bootstrap": "~0.33.1",
33
+ "react-dom": "^17.0.2"
34
+ },
35
+ "devDependencies": {
36
+ "@babel/cli": "^7.17.6",
37
+ "@babel/core": "^7.7.5",
38
+ "@babel/preset-env": "^7.7.6",
39
+ "@babel/preset-react": "^7.7.4",
40
+ "ag-grid-community": "^25.1.0",
41
+ "ag-grid-react": "^25.1.0",
42
+ "babel-loader": "^8.0.6",
43
+ "copy-webpack-plugin": "^11.0.0",
44
+ "css-loader": "^6.7.1",
45
+ "file-loader": "^6.2.0",
46
+ "mini-css-extract-plugin": "^2.6.0",
47
+ "node-sass": "^9.0.0",
48
+ "react": "^17.0.2",
49
+ "react-bootstrap": "~0.33.1",
50
+ "react-dom": "^17.0.2",
51
+ "sass": "^1.49.10",
52
+ "sass-loader": "^13.3.2",
53
+ "webpack": "5.94.0",
54
+ "webpack-cli": "^4.9.2",
55
+ "webpack-dev-server": "^4.7.4",
56
+ "webpack-merge": "5.8.0"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public"
60
+ }
61
+ }
@@ -0,0 +1 @@
1
+ export default __webpack_public_path__ + "fonts/glyphicons-halflings-regular.ttf";
@@ -0,0 +1 @@
1
+ export default __webpack_public_path__ + "fonts/glyphicons-halflings-regular.eot";