|
1 | 1 | { |
2 | 2 | "name": "@into-cps-association/dtaas-web", |
3 | | - "version": "0.8.1", |
| 3 | + "version": "0.8.2", |
4 | 4 | "description": "Web client for Digital Twin as a Service (DTaaS)", |
5 | 5 | "main": "index.tsx", |
6 | 6 | "author": "prasadtalasila <prasad.talasila@gmail.com> (http://prasad.talasila.in/)", |
7 | 7 | "contributors": [ |
8 | | - "Omar Suleiman", |
9 | 8 | "Asger Busk Breinholm", |
10 | | - "Mathias Brændgaard", |
11 | | - "Emre Temel", |
12 | 9 | "Cesar Vela", |
| 10 | + "Emre Temel", |
| 11 | + "Enok Maj", |
| 12 | + "Mathias Brændgaard", |
| 13 | + "Omar Suleiman", |
13 | 14 | "Vanessa Scherma" |
14 | 15 | ], |
15 | 16 | "license": "SEE LICENSE IN <LICENSE.md>", |
16 | 17 | "private": false, |
17 | 18 | "type": "module", |
18 | 19 | "scripts": { |
| 20 | + "analyze": "source-map-explorer 'build/static/js/*.js'", |
19 | 21 | "build": "npx react-scripts build", |
20 | 22 | "clean": "npx rimraf build/ dist/ node_modules/ coverage/ playwright-report/ test-results/ test.svg src.svg src/util/gitlab.json", |
21 | 23 | "config:dev": "npx shx cp config/dev.js public/env.js && npx shx cp config/dev.js build/env.js", |
22 | 24 | "config:local": "npx shx cp config/local.js public/env.js && npx shx cp config/local.js build/env.js", |
23 | 25 | "config:prod": "npx shx cp config/prod.js public/env.js && npx shx cp config/prod.js build/env.js", |
24 | 26 | "config:test": "npx shx cp config/test.js public/env.js && npx shx cp config/test.js build/env.js", |
25 | 27 | "develop": "npx react-scripts start", |
26 | | - "format": "prettier --ignore-path ../.gitignore --write \"**/*.{ts,tsx,css,scss}\"", |
| 28 | + "format": "prettier --ignore-path ../.gitignore --write \"**/*.{ts,tsx,css,scss,json}\"", |
27 | 29 | "graph": "npx madge --image src.svg src && npx madge --image test.svg test", |
28 | 30 | "start": "serve -s build -l 4000", |
29 | 31 | "stop": "npx kill-port 4000", |
30 | 32 | "syntax": "npx eslint . --fix", |
31 | | - "test:all": "yarn test:unit && yarn test:int && yarn test:e2e", |
| 33 | + "test:all": "yarn test:unit && yarn test:int && yarn test:e2e && yarn test:preview:unit && yarn test:preview:int", |
32 | 34 | "test:e2e:ext": "cross-env ext=true yarn test:e2e", |
33 | | - "test:e2e": "yarn config:test && playwright test -c ./playwright.config.ts", |
| 35 | + "test:e2e": "yarn config:test && yarn build && playwright test -c ./playwright.config.ts", |
34 | 36 | "test:coverage:int-unit": "npx istanbul-combine -d coverage/all -r lcov -r json -r text coverage/unit/coverage-final.json coverage/int/coverage-final.json coverage/preview/unit/coverage-final.json coverage/preview/int/coverage-final.json", |
35 | | - "test:int": "jest -c ./jest.config.json jest --coverage --coverageDirectory=coverage/int ../test/integration --setupFilesAfterEnv ./test/integration/jest.setup.ts", |
| 37 | + "test:int": "jest -c ./jest.config.json --coverage --coverageDirectory=coverage/int ../test/integration --setupFilesAfterEnv ./test/integration/jest.setup.ts", |
36 | 38 | "test:unit": "jest -c ./jest.config.json --coverageDirectory=coverage/unit ../test/unit --setupFilesAfterEnv ./test/unit/jest.setup.ts", |
37 | 39 | "test:preview:int": "jest -c ./jest.config.json --coverageDirectory=coverage/preview/int ../test/preview/integration --setupFilesAfterEnv ./test/preview/integration/jest.setup.ts", |
38 | 40 | "test:preview:unit": "jest -c ./jest.config.json --coverageDirectory=coverage/preview/unit ../test/preview/unit --setupFilesAfterEnv ./test/preview/unit/jest.setup.ts" |
|
60 | 62 | "@types/react-syntax-highlighter": "^15.5.13", |
61 | 63 | "@types/remarkable": "^2.0.8", |
62 | 64 | "@types/styled-components": "^5.1.32", |
63 | | - "@typescript-eslint/eslint-plugin": "^8.7.0", |
64 | | - "@typescript-eslint/parser": "^8.7.0", |
| 65 | + "@typescript-eslint/eslint-plugin": "^8.26.1", |
| 66 | + "@typescript-eslint/parser": "^8.26.1", |
65 | 67 | "cross-env": "^7.0.3", |
66 | 68 | "dotenv": "^16.1.4", |
67 | 69 | "eslint": "^8.2.0", |
|
71 | 73 | "eslint-plugin-jest": "^28.8.3", |
72 | 74 | "eslint-plugin-jsx-a11y": "^6.8.0", |
73 | 75 | "eslint-plugin-react": "^7.33.2", |
| 76 | + "eslint-plugin-react-hooks": "5.1.0", |
| 77 | + "http-status-codes": "2.3.0", |
74 | 78 | "jest-fetch-mock": "^3.0.3", |
75 | 79 | "katex": "^0.16.11", |
76 | 80 | "markdown-it-katex": "^2.0.3", |
|
93 | 97 | "resize-observer-polyfill": "^1.5.1", |
94 | 98 | "serve": "^14.2.1", |
95 | 99 | "styled-components": "^6.1.1", |
96 | | - "typescript": "5.1.6" |
| 100 | + "typescript": "5.1.6", |
| 101 | + "zod": "3.24.1" |
97 | 102 | }, |
98 | 103 | "devDependencies": { |
99 | 104 | "@babel/core": "7.25.8", |
|
0 commit comments