|
40 | 40 | "clean": "rm -rf ./dist", |
41 | 41 | "test": "jest src", |
42 | 42 | "build": "npm run clean && npm run build:wasm && npm run build:js && scripts/move_wasm_assets", |
| 43 | + "build:debug": "npm run clean && npm run build:wasm:debug && npm run build:js && scripts/move_wasm_assets", |
43 | 44 | "build:wasm": "scripts/pipeline.sh", |
| 45 | + "build:wasm:debug": "PRIVMX_BUILD_TYPE=debug scripts/pipeline.sh", |
44 | 46 | "build:js": "npm run compile && npm run bundle && npm run build:worker && cp ./dist/assets/* ./assets/ && cp ./dist/bundle/rms-processor.js ./assets/", |
45 | 47 | "build:worker": "webpack --config ./webpack.worker.config.js", |
| 48 | + "clean:wasm": "scripts/clean_wasm", |
46 | 49 | "compile": "tsc", |
47 | 50 | "bundle": "webpack", |
48 | 51 | "watch:types": "tsc -w", |
49 | 52 | "test:e2e": "playwright test --project=chromium", |
50 | 53 | "test:e2e:manybrowsers": "playwright test", |
51 | | - "lint": "eslint -c eslint.config.mjs .", |
52 | | - "format": "prettier --write '{src,tests}/**/*.{ts,tsx,css,md}'", |
| 54 | + "lint": "oxlint src/", |
| 55 | + "format": "oxfmt src/", |
| 56 | + "format:check": "oxfmt --check src/", |
53 | 57 | "format:clang": "find webendpoint-cpp drivers async-engine -type f \\( -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \\) -print0 | xargs -0 clang-format -i", |
54 | 58 | "lint:clang-format": "find webendpoint-cpp drivers async-engine -type f \\( -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \\) -print0 | xargs -0 clang-format --dry-run --Werror", |
55 | 59 | "prepack": "mkdir -p ./builds", |
|
68 | 72 | "node": ">=4" |
69 | 73 | }, |
70 | 74 | "devDependencies": { |
71 | | - "@eslint/js": "^9.39.2", |
72 | 75 | "@playwright/test": "^1.57.0", |
73 | | - "@stylistic/eslint-plugin": "^5.6.1", |
74 | 76 | "@types/aes-js": "^3.1.4", |
75 | 77 | "@types/jest": "^29.5.14", |
76 | 78 | "@types/node": "^20.9.0", |
77 | 79 | "@types/webpack": "^5.28.5", |
78 | | - "@typescript-eslint/eslint-plugin": "^8.51.0", |
79 | | - "@typescript-eslint/parser": "^8.51.0", |
80 | 80 | "copy-webpack-plugin": "^14.0.0", |
81 | | - "eslint": "^9.39.2", |
82 | | - "eslint-config-prettier": "^10.1.8", |
83 | | - "eslint-plugin-indent-empty-lines": "^1.0.2", |
84 | | - "eslint-plugin-prettier": "^5.5.4", |
85 | 81 | "jest": "^29.7.0", |
86 | 82 | "mongodb": "^7.0.0", |
87 | | - "prettier": "^3.7.4", |
| 83 | + "oxlint": "^1.60.0", |
88 | 84 | "ts-jest": "^29.2.5", |
89 | 85 | "ts-loader": "^9.5.1", |
90 | 86 | "ts-node": "^10.9.1", |
|
0 commit comments