@wiris/mathtype-tinymce6 7.31.0 → 8.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/project.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "root": "packages/tinymce6",
3
+ "targets": {
4
+ "build": {
5
+ "executor": "nx:run-script",
6
+ "options": {
7
+ "script": "build"
8
+ },
9
+ "outputs": ["packages/tinymce6/plugin.min.js"]
10
+ },
11
+ "test": {
12
+ "executor": "@nrwl/cypress:cypress",
13
+ "dependsOn": ["build"],
14
+ "options": {
15
+ "baseUrl": "http://localhost:8008",
16
+ "cypressConfig": "./cypress.json"
17
+ }
18
+ },
19
+ "lint": {
20
+ "executor": "@nrwl/linter:eslint",
21
+ "options": {
22
+ "eslintConfig": "./.eslintrc.js",
23
+ "lintFilePatterns": ["packages/tinymce6/**/*.{ts,tsx,js,jsx}"]
24
+ },
25
+ "outputs": ["{options.outputFile}"]
26
+ }
27
+ }
28
+ }
package/webpack.config.js CHANGED
@@ -1,4 +1,5 @@
1
1
  const path = require('path');
2
+ const webpack = require('webpack');
2
3
  const TerserPlugin = require("terser-webpack-plugin");
3
4
 
4
5
  module.exports = {
@@ -60,5 +61,11 @@ module.exports = {
60
61
  },
61
62
  stats: {
62
63
  colors: true
63
- }
64
- };
64
+ },
65
+ plugins: [
66
+ new webpack.EnvironmentPlugin({
67
+ 'SERVICE_PROVIDER_URI': 'https://www.wiris.net/demo/plugins/app',
68
+ 'SERVICE_PROVIDER_SERVER': 'java',
69
+ }),
70
+ ],
71
+ };
package/package.json.temp DELETED
@@ -1,51 +0,0 @@
1
- {
2
- "name": "@wiris/mathtype-tinymce6",
3
- "version": "7.27.1",
4
- "description": "MathType Web for TinyMCE6 editor",
5
- "keywords": [
6
- "chem",
7
- "chemistry",
8
- "chemtype",
9
- "editor",
10
- "equation",
11
- "latex",
12
- "math",
13
- "mathml",
14
- "maths",
15
- "mathtype",
16
- "tinymce",
17
- "tinymce5",
18
- "wiris"
19
- ],
20
- "repository": "https://github.com/wiris/html-integrations/tree/stable/packages/mathtype-tinymce6",
21
- "homepage": "https://www.wiris.com/",
22
- "bugs": {
23
- "email": "support@wiris.com"
24
- },
25
- "license": "MIT",
26
- "author": "WIRIS Team (http://www.wiris.com)",
27
- "main": "plugin.min.js",
28
- "scripts": {
29
- "build": "webpack --mode production",
30
- "build-dev": "webpack --mode development",
31
- "clean": "shx rm -f plugin.min.js",
32
- "compile": "node ../../scripts/services/compile editor_plugin.src.js .",
33
- "prepack": "npm install && npm run compile -- npm"
34
- },
35
- "dependencies": {
36
- "@wiris/mathtype-html-integration-devkit": "1.6.1"
37
- },
38
- "devDependencies": {
39
- "@babel/core": "^7.15.0",
40
- "@babel/preset-env": "^7.15.0",
41
- "babel-loader": "^8.2.2",
42
- "css-loader": "^5.2.4",
43
- "raw-loader": "^4.0.2",
44
- "shx": "^0.3.3",
45
- "style-loader": "^3.3.0",
46
- "terser-webpack-plugin": "^5.3.0",
47
- "url-loader": "^4.1.1",
48
- "webpack": "^5.50.0",
49
- "webpack-cli": "^4.8.0"
50
- }
51
- }