Module.
npm install @dizmo/functions-viewer --saveimport '@dizmo/functions-viewer';...npm run cleannpm run buildnpm run -- build --no-lint --no-cleannpm run -- build --prepacknpm run -- build --prepack --no-minifynpm run lintnpm run -- lint --fixnpm run testnpm run -- test --no-lint --no-clean --no-buildnpm run covernpm run -- cover --no-lint --no-clean --no-buildConnect @dizmo/functions-viewer to another project:
[@dizmo/functions-viewer] $ npm link # symlink global:@dizmo/functions-viewer[a-project] $ npm link @dizmo/functions-viewer # symlink node-modules:@dizmo/functions-viewer[a-project] $ head webpack.config.js # ensure @dizmo/functions-viewer in entry.mainentry: {
main: [..., '@dizmo/functions-viewer', './source/index.js']
}
Disconnect @dizmo/functions-viewer from the project:
[a-project] $ npm unlink @dizmo/functions-viewer # delete local symlink[@dizmo/functions-viewer] $ npm uninstall -g # delete global symlinknpm run docsnpm publishnpm publish --access=public© 2021 Hasan Karahan