Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 6f16423

Browse files
committed
Add env script to examples
1 parent 24f7acf commit 6f16423

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

new_project/examples/btc_eth/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"check": "tsc && tslint -p . && prettier --check '**/*.{ts,json,yml}'",
88
"start": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
9-
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'"
9+
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
10+
"env": "create-comit-app start-env"
1011
},
1112
"keywords": [],
1213
"author": "",

new_project/examples/erc20_btc/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"check": "tsc && tslint -p . && prettier --check '**/*.{ts,json,yml}'",
88
"start": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
9-
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'"
9+
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
10+
"env": "create-comit-app start-env"
1011
},
1112
"keywords": [],
1213
"author": "",

new_project/examples/separate_apps/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"check": "tsc && tslint -p . && prettier --check '**/*.{ts,json,yml}'",
88
"maker": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/maker.ts",
99
"taker": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/taker.ts",
10-
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'"
10+
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
11+
"env": "create-comit-app start-env"
1112
},
1213
"keywords": [],
1314
"author": "",

0 commit comments

Comments
 (0)