aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/build_scripts/buildJson.ts
blob: b92b5172bd4f4e78754f247671c4b9aef8470ddb (plain) (blame)
1
2
3
4
5
6
7
import { writeFileSync } from 'fs';

import { api } from '../src';

const apiJson = JSON.stringify(api);
writeFileSync('lib/api.json', apiJson);
writeFileSync('public/api.json', apiJson);