This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
..., | |
"main": "dist/index.js", | |
"scripts": { | |
"build": "rimraf dist && tsc", | |
"prepare": "yarn build", | |
"ci": "yarn types && yarn test && yarn lint", | |
"test": "jest", | |
"types": "tsc --noEmit lib", | |
"lint": "tslint -p tsconfig.json -c tslint.json", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
lint: | |
docker: | |
# Все проверки мы раним на последней стабильной версии Node.js | |
- image: circleci/node:10.16.0 | |
working_directory: ~/repo | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
# ... | |
build_and_push: | |
docker: | |
# Для билда контейнера нам нужен только докер | |
- image: docker:17.05.0-ce-git | |
working_directory: ~/repo | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
nginx-web: | |
image: nginx | |
labels: | |
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true" | |
container_name: ${NGINX_WEB:-nginx-web} | |
restart: always | |
ports: | |
- "${IP:-0.0.0.0}:80:80" |