From da8a14bbdce1e319a8ce5ca440a24192c981998b Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Tue, 30 Mar 2021 19:08:40 +0800 Subject: [PATCH] fix: add back bin/supabase --- bin/supabase | 3 +++ package.json | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 bin/supabase diff --git a/bin/supabase b/bin/supabase new file mode 100644 index 000000000..d98bff591 --- /dev/null +++ b/bin/supabase @@ -0,0 +1,3 @@ +#!/usr/bin/env node + +require('../dist/cli.js') diff --git a/package.json b/package.json index 3e9e8a2a1..417708382 100644 --- a/package.json +++ b/package.json @@ -7,16 +7,17 @@ "license": "MIT", "author": "Supabase", "files": [ + "bin", "dist" ], - "bin": "dist/cli.js", + "bin": "bin/supabase", "repository": "supabase/cli", "scripts": { "dev": "ts-node src/cli.ts", "clean": "rimraf dist", "format": "prettier --write \"{src,test}/**/*.ts\"", "build": "npm run clean && tsc --project tsconfig.json && cpy src/templates dist/templates", - "start": "node dist/cli.js", + "start": "bin/supabase", "test": "jest" }, "dependencies": {