aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 01:33:45 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 01:33:45 +0800
commit8cb074657d39352314d614f6cb27e3aaf56b8de6 (patch)
tree9b9b7d35f7afdb0b0593024d423506d183507eb8 /packages
parent5f72b86ce427c6361bacc852002b777fd1d6defa (diff)
downloaddexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar
dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar.gz
dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar.bz2
dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar.lz
dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar.xz
dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar.zst
dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.zip
Rename bin to server in testnet-faucets since bin is no longer gitignored
Diffstat (limited to 'packages')
-rw-r--r--packages/testnet-faucets/Dockerfile2
-rw-r--r--packages/testnet-faucets/gulpfile.js6
-rw-r--r--packages/testnet-faucets/package.json4
3 files changed, 6 insertions, 6 deletions
diff --git a/packages/testnet-faucets/Dockerfile b/packages/testnet-faucets/Dockerfile
index bd1dcc4a4..198087ba6 100644
--- a/packages/testnet-faucets/Dockerfile
+++ b/packages/testnet-faucets/Dockerfile
@@ -15,4 +15,4 @@ COPY . .
EXPOSE 3000
-CMD ["forever", "./bin/server.js"]
+CMD ["forever", "./server/server.js"]
diff --git a/packages/testnet-faucets/gulpfile.js b/packages/testnet-faucets/gulpfile.js
index 773faf33a..7c4e25e0f 100644
--- a/packages/testnet-faucets/gulpfile.js
+++ b/packages/testnet-faucets/gulpfile.js
@@ -9,7 +9,7 @@ const config = {
target: 'node',
entry: [path.join(__dirname, '/src/ts/server.ts')],
output: {
- path: path.join(__dirname, '/bin'),
+ path: path.join(__dirname, '/server'),
filename: 'server.js',
},
devtool: 'source-map',
@@ -47,7 +47,7 @@ const config = {
modulesDir: path.join(__dirname, '../../node_modules')
}),
watchOptions: {
- ignored: /bin|node_modules|transpiled/
+ ignored: /server|node_modules|transpiled/
},
};
@@ -67,7 +67,7 @@ gulp.task('run', ['watch'], function() {
execMap: {
js: 'node',
},
- script: path.join(__dirname, 'bin/server'),
+ script: path.join(__dirname, 'server/server'),
ignore: ['*'],
watch: ['foo/'],
ext: 'noop',
diff --git a/packages/testnet-faucets/package.json b/packages/testnet-faucets/package.json
index f00ffad02..c7663fe13 100644
--- a/packages/testnet-faucets/package.json
+++ b/packages/testnet-faucets/package.json
@@ -8,9 +8,9 @@
"watch": "tsc -w",
"build": "node ../../node_modules/gulp/bin/gulp.js build",
"dev": "node ../../node_modules/gulp/bin/gulp.js run",
- "start": "node ./bin/server.js",
+ "start": "node ./server/server.js",
"lint": "tslint --project .",
- "clean": "shx rm -rf bin"
+ "clean": "shx rm -rf server"
},
"author": "Fabio Berger",
"license": "Apache-2.0",