|
13 | 13 | "branchName": "signature-web"
|
14 | 14 | },
|
15 | 15 | "license": "Apache-2.0",
|
| 16 | + "mxpackage": { |
| 17 | + "name": "Signature", |
| 18 | + "type": "widget", |
| 19 | + "mpkName": "Signature.mpk" |
| 20 | + }, |
| 21 | + "packagePath": "com.mendix.widget.custom", |
16 | 22 | "marketplace": {
|
17 | 23 | "minimumMXVersion": "7.13.1",
|
| 24 | + "appName": "Signature", |
18 | 25 | "appNumber": 107984
|
19 | 26 | },
|
20 | 27 | "scripts": {
|
21 |
| - "start": "utils-react-widgets start", |
22 |
| - "dev": "utils-react-widgets dev", |
23 |
| - "test": "npm run test:unit", |
24 |
| - "test:unit": "jest --config ../../../scripts/test/jest.web.config.js", |
25 |
| - "pretest:e2e": "npm run release && node ../../../scripts/test/updateAtlas.js --latest-atlas", |
26 |
| - "test:e2e": "pluggable-widgets-tools test:e2e:web:cypress --no-widget-update --remove-atlas-files", |
27 |
| - "test:e2e:local": "pluggable-widgets-tools test:e2e:web:cypress:local -- --config-file ../../../configs/e2e/cypress/cypress.json", |
| 28 | + "build": "ts-node --project scripts/tsconfig.json scripts/build.ts development", |
| 29 | + "release": "ts-node --project scripts/tsconfig.json scripts/build.ts production", |
| 30 | + "format": "prettier --write .", |
28 | 31 | "lint": "eslint --ext .jsx,.js,.ts,.tsx src/ cypress/",
|
29 |
| - "lint:fix": "npm run lint -- --fix", |
30 |
| - "build": "utils-react-widgets build", |
31 |
| - "release": "utils-react-widgets release", |
32 |
| - "format": "prettier --write ." |
33 |
| - }, |
34 |
| - "config": { |
35 |
| - "mendixHost": "http://localhost:8080", |
36 |
| - "developmentPort": 3000 |
| 32 | + "test": "pluggable-widgets-tools test:unit:web" |
37 | 33 | },
|
38 | 34 | "devDependencies": {
|
39 |
| - "@mendix/custom-widgets-utils-internal": "workspace:*", |
40 |
| - "@mendix/pluggable-widgets-tools": ">=9.20.0", |
41 |
| - "@types/classnames": "^2.2.6", |
| 35 | + "@mendix-internal/automation-utils": "workspace:*", |
| 36 | + "@mendix/eslint-config-web-widgets": "workspace:*", |
| 37 | + "@mendix/pluggable-widgets-tools": "^9.20.0", |
| 38 | + "@mendix/prettier-config-web-widgets": "workspace:*", |
| 39 | + "@types/enzyme": "^3.10.12", |
| 40 | + "@types/jest": "^26.0.24", |
| 41 | + "@types/node": "^18.8.3", |
| 42 | + "@types/react": "^17.0.53", |
| 43 | + "@types/react-dom": "^17.0.18", |
42 | 44 | "@types/react-resize-detector": "^5.0.0",
|
| 45 | + "css-loader": "^6.7.3", |
43 | 46 | "eslint": "^7.32.0",
|
44 |
| - "jest": "^26.6.3" |
| 47 | + "jest": "^26.6.3", |
| 48 | + "jest-canvas-mock": "^2.4.0", |
| 49 | + "mendix-client": "^7.15.8", |
| 50 | + "mini-css-extract-plugin": "^2.7.2", |
| 51 | + "prettier": "^2.5.1", |
| 52 | + "react": "~17.0.2", |
| 53 | + "react-dom": "~17.0.2", |
| 54 | + "rollup": "^2.79.1", |
| 55 | + "sass-loader": "^13.2.0", |
| 56 | + "to-string-loader": "^1.1.6", |
| 57 | + "ts-loader": "^9.4.2", |
| 58 | + "ts-node": "^9.1.1", |
| 59 | + "typescript": "4.5.4", |
| 60 | + "webpack": "^5.75.0", |
| 61 | + "webpack-cli": "^5.0.1" |
45 | 62 | },
|
46 | 63 | "dependencies": {
|
47 |
| - "classnames": "^2.2.6", |
| 64 | + "classnames": "^2.3.2", |
48 | 65 | "react-resize-detector": "^5.2.0",
|
49 | 66 | "signature_pad": "https://github.com/Andries-Smit/signature_pad/releases/download/v3.0.0-beta.4/signature_pad.tar.gz"
|
50 | 67 | },
|
|
0 commit comments