mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-02 14:38:46 +00:00
Tweaked root package.json scripts to better improve dev experience. * Install npm dependencies for both packages using `yarn bootstrap` in root directory * Build both NUI and game scripts using `yarn build` in the root directory. * Precommit git hook references script rather than global pretty-quick
26 lines
630 B
JSON
26 lines
630 B
JSON
{
|
|
"name": "npwd",
|
|
"version": "0.1.0",
|
|
"description": "A FiveM phone resource, made in React & TypeScript",
|
|
"repository": "https://github.com/project-error/new-phone-who-dis",
|
|
"license": "CC-BY-NC-SA-4.0",
|
|
"devDependencies": {
|
|
"husky": "^5.1.3",
|
|
"lerna": "^3.22.1",
|
|
"prettier": "^2.2.1",
|
|
"pretty-quick": "^3.1.0"
|
|
},
|
|
"scripts": {
|
|
"build": "lerna run build",
|
|
"prepare": "husky install",
|
|
"bootstrap": "lerna bootstrap",
|
|
"format:staged": "pretty-quick --staged",
|
|
"postinstall": "husky install"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run format:staged"
|
|
}
|
|
}
|
|
}
|