all: node_modules
	bash ./build/generate-styles.sh
	./node_modules/.bin/webpack -c ./webpack.config.js
	rm -f ./dist/main.js
	#echo `cat ./dist/passport.auth.customs.css | sed "s/url(\//url(..\/_\//g"` > ./dist/passport.auth.customs.css
loc:
	node ./locs/make.js
clean:
	rm -rf ./dist/*
deploy-test:
	sh ./deploy-test.sh

node_modules: package.json
	npm install --registry http://npm.yandex-team.ru --user-agent "npm/6.14.6 (verdaccio yandex canary)"
