forked from NextGraph/nextgraph-rs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
357 B
11 lines
357 B
const fs = require('fs');
|
|
|
|
const PATH = './pkg/package.json';
|
|
const PATH_README = './pkg/README.md';
|
|
|
|
const pkg_json = fs.readFileSync(PATH);
|
|
let pkg = JSON.parse(pkg_json)
|
|
pkg.name = "@nextgraph-monorepo/ng-sdk-js";
|
|
pkg.files.push("ng_sdk_js_bg.wasm.d.ts");
|
|
pkg.files.push("snippets/**/*.js");
|
|
fs.writeFileSync(PATH, JSON.stringify(pkg, null, 2), 'utf8');
|
|
|