@modusoperandi/licit 0.14.16 → 0.14.18

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": "@modusoperandi/licit",
3
- "version": "0.14.16",
3
+ "version": "0.14.18",
4
4
  "subversion": "1",
5
5
  "description": "Rich text editor built with React and ProseMirror",
6
6
  "main": "dist/index.js",
@@ -11,7 +11,9 @@
11
11
  },
12
12
  "scripts": {
13
13
  "test": "jest --coverage",
14
- "build:bom": "cyclonedx-bom -o dist/bom.xml",
14
+ "test:unit": "jest",
15
+ "test:coverage": "jest --coverage",
16
+ "build:bom": "cyclonedx-npm --ignore-npm-errors --short-PURLs --output-format XML --output-file dist/bom.xml",
15
17
  "build:clean": "rm -rf dist/ && rm -f modusoperandi-licit-*.*.*.tgz",
16
18
  "build:css": "cp src/ui/*.css dist/ui && cp src/ui/mathquill-editor/*.css dist/ui/mathquill-editor && cp src/client/*.css dist/client && cp src/*.css dist",
17
19
  "build:fonts": "mkdirp ./dist/fonts && cp -r fonts/* dist/fonts",
@@ -19,9 +21,12 @@
19
21
  "build:flow": "flow-copy-source -v -i '**/__tests__/**' src dist",
20
22
  "build:dist": "npm run build:clean && npm run build:babel && npm run build:flow && npm run build:css && npm run build:fonts && npm run build:bom",
21
23
  "build:licit": "node utils/build_bin.js",
24
+ "ci:bom": "cyclonedx-npm --ignore-npm-errors --short-PURLs --output-format XML --output-file dist/bom.xml",
25
+ "ci:build": "npm run build:clean && npm run build:babel && npm run build:flow && npm run build:css && npm run build:fonts && npm run build:bom",
22
26
  "flow": "flow --show-all-errors",
23
27
  "lint:css": "stylelint \"**/*.css\"",
24
28
  "lint:js": "eslint \"src/**/*.js\" \"licit/**/*.js\"",
29
+ "lint": "npm run lint:css & npm run lint:js",
25
30
  "start": "node scripts/webserver.js",
26
31
  "prepare": "npm run build:dist",
27
32
  "prebuild:style-service-docker": "node utils/build_customstyle_server.js",
@@ -49,7 +54,7 @@
49
54
  "@babel/preset-env": "^7.19.4",
50
55
  "@babel/preset-flow": "^7.10.4",
51
56
  "@babel/preset-react": "^7.18.6",
52
- "@cyclonedx/bom": "^3.10.6",
57
+ "@cyclonedx/cyclonedx-npm": "^1.11.0",
53
58
  "babel-jest": "^29.2.0",
54
59
  "babel-loader": "8.2.5",
55
60
  "babel-plugin-flow-react-proptypes": "26.0.0",
@@ -62,7 +67,7 @@
62
67
  "eslint-config-prettier": "^8.5.0",
63
68
  "eslint-plugin-jest": "^27.1.2",
64
69
  "eslint-plugin-prettier": "^4.2.1",
65
- "eslint-plugin-react": "7.31.10",
70
+ "eslint-plugin-react": "7.33.2",
66
71
  "exports-loader": "^1.1.0",
67
72
  "file-loader": "^6.2.0",
68
73
  "flow-bin": "0.128.0",
@@ -80,8 +85,8 @@
80
85
  "lint-staged": "^13.0.3",
81
86
  "mkdirp": "^1.0.4",
82
87
  "prettier": "^2.1.2",
83
- "stylelint": "^14.14.0",
84
- "stylelint-config-standard": "^29.0.0",
88
+ "stylelint": "^15.6.0",
89
+ "stylelint-config-standard": "^33.0.0",
85
90
  "stylelint-prettier": "^2.0.0",
86
91
  "terser-webpack-plugin": "^3.1.0",
87
92
  "webpack": "^5.74.0",
@@ -90,7 +95,7 @@
90
95
  "write-file-webpack-plugin": "4.5.1"
91
96
  },
92
97
  "dependencies": {
93
- "@modusoperandi/licit-ui-commands": "^0.1.16",
98
+ "@modusoperandi/licit-ui-commands": "^0.1.17",
94
99
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
95
100
  "body-parser": "^1.19.0",
96
101
  "cors": "^2.8.5",