Files
new-phone-who-dis/package.json
T
Taso 8ef1a0aa9a tweak(scripts): Tweaked root lerna scripts
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
2021-04-05 20:12:34 -04:00

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"
}
}
}