UNPKG

rock-mod

Version:

Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.

92 lines (91 loc) 3.05 kB
{ "name": "rock-mod", "version": "0.15.1", "description": "Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./testing": { "types": "./dist/testing.d.ts", "default": "./dist/testing.js" } }, "typesVersions": { "*": { "testing": [ "./dist/testing.d.ts" ] } }, "scripts": { "start": "npx tsx src/server/index.ts", "build": "npm run build:shared && npm run build:server && npm run build:client", "build:shared": "tsc --project src/shared/tsconfig.json", "build:server": "tsc --project src/server/tsconfig.json", "build:client": "tsc --project src/client/tsconfig.json", "build:client:rollup": "rollup -c", "build:client:rollup:watch": "rollup -c -w", "lint:shared:check": "cd src/shared && eslint . --ext .ts", "lint:shared:fix": "cd src/shared && eslint . --ext .ts --fix", "lint:server:check": "cd src/server && eslint . --ext .ts", "lint:server:fix": "cd src/server && eslint . --ext .ts --fix", "lint:client:check": "cd src/client && eslint . --ext .ts", "lint:client:fix": "cd src/client && eslint . --ext .ts --fix", "lint:check": "npm run lint:shared:check && npm run lint:client:check", "lint:fix": "npm run lint:shared:fix && npm run lint:server:fix && npm run lint:client:fix", "format:check": "prettier --check .", "format:fix": "prettier --write . --log-level=silent", "type:shared:check": "tsc --noEmit --project src/shared/tsconfig.json", "type:server:check": "tsc --noEmit --project src/server/tsconfig.json", "type:client:check": "tsc --noEmit --project src/client/tsconfig.json", "type:check": "npm run type:server:check && npm run type:client:check", "test": "echo \"Error: no test specified\" && exit 1", "prepare": "husky" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,json,md}": [ "npm run lint:fix", "npm run format:fix" ] }, "files": [ "dist" ], "keywords": [ "gta", "multiplayer", "altv", "ragemp" ], "author": "xvetal", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/node": "^20.10.4", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.57.1", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-import": "^2.30.0", "eslint-plugin-prettier": "^5.2.1", "husky": "^9.1.6", "lint-staged": "^15.2.10", "prettier": "^3.3.3", "rollup": "^4.9.1", "typescript": "^5.6.2" } }