| 
									
										
										
										
											2018-08-26 09:35:53 +00:00
										 |  |  | all: dev-setup lint build-js-production test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Dev env management
 | 
					
						
							| 
									
										
										
										
											2018-10-26 09:47:05 +00:00
										 |  |  | dev-setup: clean clean-dev npm-init composer | 
					
						
							| 
									
										
										
										
											2018-11-16 11:41:20 +00:00
										 |  |  | 	cp -R node_modules/twemoji/2/svg img/twemoji | 
					
						
							| 
									
										
										
										
											2018-08-26 09:35:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | npm-init: | 
					
						
							|  |  |  | 	npm install | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | npm-update: | 
					
						
							|  |  |  | 	npm update | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Building
 | 
					
						
							|  |  |  | build-js: | 
					
						
							|  |  |  | 	npm run dev | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | build-js-production: | 
					
						
							|  |  |  | 	npm run build | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | watch-js: | 
					
						
							|  |  |  | 	npm run watch | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Testing
 | 
					
						
							|  |  |  | test: | 
					
						
							|  |  |  | 	npm run test | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | test-watch: | 
					
						
							|  |  |  | 	npm run test:watch | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | test-coverage: | 
					
						
							|  |  |  | 	npm run test:coverage | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Linting
 | 
					
						
							|  |  |  | lint: | 
					
						
							|  |  |  | 	npm run lint | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | lint-fix: | 
					
						
							|  |  |  | 	npm run lint:fix | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Cleaning
 | 
					
						
							|  |  |  | clean: | 
					
						
							| 
									
										
										
										
											2018-09-05 11:00:10 +00:00
										 |  |  | 	rm -f js/social.js | 
					
						
							|  |  |  | 	rm -f js/social.js.map | 
					
						
							| 
									
										
										
										
											2018-08-26 09:35:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | clean-dev: | 
					
						
							|  |  |  | 	rm -rf node_modules | 
					
						
							| 
									
										
										
										
											2018-10-26 09:34:57 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | composer: | 
					
						
							|  |  |  | 	composer install --prefer-dist |