| { | |
| "scripts": { | |
| "test:crosslanguage": "f() { npx jest crossLanguage.test.ts -t \"$@\" > /dev/null 2>&1; }; f", | |
| "test": "npm run build && jest", | |
| "clear": "rm -rf ./packages/core/dist && rm -rf ./packages/hps/dist", | |
| "build": "npm run clear && npm run build -w packages/core -w packages/hps", | |
| "lint": "npm run format-check", | |
| "lint-fix": "npm run format", | |
| "format": "prettier --write \"{packages,test}/**/*.ts\" && eslint . --fix", | |
| "format-check": "prettier --check \"{packages,test}/**/*.ts\" && eslint ." | |
| }, | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/apache/fory.git", | |
| "directory": "javascript" | |
| }, | |
| "workspaces": [ | |
| "packages/hps", | |
| "packages/core" | |
| ], | |
| "devDependencies": { | |
| "@types/js-beautify": "^1.14.3", | |
| "@types/node": "18.19.130", | |
| "@typescript-eslint/eslint-plugin": "^8.66.0", | |
| "@typescript-eslint/parser": "^8.66.0", | |
| "eslint": "^8.57.1", | |
| "eslint-config-prettier": "^10.1.8", | |
| "jest": "^30.4.2", | |
| "jest-junit": "^17.0.0", | |
| "js-beautify": "^1.14.11", | |
| "prettier": "^3.9.4", | |
| "ts-jest": "^29.4.12", | |
| "typescript": "^4.8.4" | |
| }, | |
| "overrides": { | |
| "minimatch@>=7": "^11.0.4", | |
| "glob@>=9": "^14.0.3" | |
| } | |
| } |