Skip to content

Commit

Permalink
chore: include api.json in NPM package (#4034)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Oct 1, 2020
1 parent 4a77363 commit 318ab28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/build_package.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ if (!args.some(arg => arg === '--no-cleanup')) {
for (const file of package.files)
await copyToPackage(path.join(ROOT_PATH, file), path.join(packagePath, file));

await copyToPackage(path.join(ROOT_PATH, 'docs/api.md'), path.join(packagePath, 'api.md'));
await copyToPackage(path.join(ROOT_PATH, 'docs/api.json'), path.join(packagePath, 'api.json'));
await copyToPackage(path.join(ROOT_PATH, 'src/protocol/protocol.yml'), path.join(packagePath, 'protocol.yml'));

// 4. Generate package.json
Expand Down

0 comments on commit 318ab28

Please sign in to comment.