aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/build_scripts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-10 01:13:37 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-10 01:13:37 +0800
commit0113ecee96cd7ac3a6fc439df66ba826e7313768 (patch)
treefb951d4f643e33044e9490a6dbfd047f95cd5f2f /packages/sra-api/build_scripts
parenteb20e869472bbd7f463c331a236cae51e11cb27d (diff)
downloaddexon-sol-tools-0113ecee96cd7ac3a6fc439df66ba826e7313768.tar
dexon-sol-tools-0113ecee96cd7ac3a6fc439df66ba826e7313768.tar.gz
dexon-sol-tools-0113ecee96cd7ac3a6fc439df66ba826e7313768.tar.bz2
dexon-sol-tools-0113ecee96cd7ac3a6fc439df66ba826e7313768.tar.lz
dexon-sol-tools-0113ecee96cd7ac3a6fc439df66ba826e7313768.tar.xz
dexon-sol-tools-0113ecee96cd7ac3a6fc439df66ba826e7313768.tar.zst
dexon-sol-tools-0113ecee96cd7ac3a6fc439df66ba826e7313768.zip
Change scripts folder to build_scripts
Diffstat (limited to 'packages/sra-api/build_scripts')
-rw-r--r--packages/sra-api/build_scripts/buildJson.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/sra-api/build_scripts/buildJson.ts b/packages/sra-api/build_scripts/buildJson.ts
new file mode 100644
index 000000000..ea99a0823
--- /dev/null
+++ b/packages/sra-api/build_scripts/buildJson.ts
@@ -0,0 +1,6 @@
+import { writeFileSync } from 'fs';
+
+import { api } from '../src';
+
+const apiJson = JSON.stringify(api);
+writeFileSync('lib/api.json', apiJson);