Ajout de composant (#7)
All checks were successful
Release / release (push) Successful in 57s
All checks were successful
Release / release (push) Successful in 57s
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [ ] Pas de régression - [ ] TU/TI/TF rédigée - [ ] TU/TI/TF OK - [ ] CHANGELOG modifié Co-authored-by: kevin <kevin@yuno.malio.fr> Reviewed-on: #7 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
This commit was merged in pull request #7.
This commit is contained in:
33
makefile
Normal file
33
makefile
Normal file
@@ -0,0 +1,33 @@
|
||||
.PHONY: start install dev dev-prepare lint test pre-commit copy-git-hook node-use
|
||||
|
||||
start: copy-git-hook node-use install
|
||||
|
||||
install:
|
||||
npm install
|
||||
|
||||
dev:
|
||||
npm run dev
|
||||
|
||||
dev-histoire:
|
||||
npm run story:dev
|
||||
|
||||
dev-prepare:
|
||||
npm run dev:prepare
|
||||
|
||||
lint: dev-prepare
|
||||
npm run lint
|
||||
|
||||
test:
|
||||
npm run test
|
||||
|
||||
pre-commit: lint test
|
||||
|
||||
copy-git-hook:
|
||||
cp pre-commit .git/hooks/pre-commit
|
||||
cp commit-msg .git/hooks/commit-msg
|
||||
chmod a+x .git/hooks/pre-commit
|
||||
chmod a+x .git/hooks/commit-msg
|
||||
|
||||
# Force la version node
|
||||
node-use:
|
||||
bash -lc 'source "$$HOME/.nvm/nvm.sh" && nvm install && nvm use'
|
||||
Reference in New Issue
Block a user