Skip to content

Instantly share code, notes, and snippets.

@draobrehtom
Created January 14, 2020 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save draobrehtom/13d0c37f9502c960f60c4438c5bb35e1 to your computer and use it in GitHub Desktop.
Save draobrehtom/13d0c37f9502c960f60c4438c5bb35e1 to your computer and use it in GitHub Desktop.
FiveM: JS - Development config
{
"name": "gungame",
"version": "1.0.0",
"description": "Gun Game gamemode for FiveM",
"main": "index.js",
"scripts": {
"buildc": "tsc --build src/client/tsconfig.json",
"builds": "tsc --build src/server/tsconfig.json",
"build": "npm run buildc && npm run builds",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lintc": "tslint -p src/client/tsconfig.json",
"lints": "tslint -p src/server/tsconfig.json",
"lint": "npm run lintc && npm run lints",
"watchc": "node client.config",
"watchs": "node server.config",
"prodc": "webpack --mode production --config client.prod.config.js",
"prods": "webpack --mode production --config server.prod.config.js",
"prod": "npm run prodc && npm run prods"
},
"repository": "https://github.com/d0p3t/gungame",
"author": "d0p3t <d0p3t@users.noreply.github.com>",
"license": "MIT",
"private": true,
"dependencies": {
"@citizenfx/client": "^1.0.1866-1",
"@citizenfx/server": "^1.0.1866-1",
"@types/node": "^12.12.17",
"ts-loader": "^6.2.1",
"typescript": "^3.7.3"
},
"devDependencies": {
"chalk": "^2.4.2",
"prettier": "^1.19.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment