npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

snk-react-web

v1.0.1

Published

Make Sankhya dashboards with React Web tools and facilities.

Downloads

3

Readme

snk-react-web

This tool aims to create a React Web environment with build and development support for the Sankhya ERP Dashboard Builder.

This application is not linked to the company Sankhya Gestão de Negócios.

🐱‍👤 Github: https://github.com/williamciva/snk-react-web

🤯 Introduction

From this documentation it will be possible to create a new snk-react-web project, create the first component and build it. You can run it in production or development.

📋 Prerequisites

To carry out the project, you will need to have the following tools installed on your machine:

🚀 Get Starting

Create a folder to allocate your project, after, run npx command.

npx snk-react-web

Press enter when the message "Ok to proceed? (y)”

Here you can see some of the commands available through the library.

Now run the necessary commands to create a new snk-react-web project.

npx snk-react-web --create nameOfProject

Look how easy it is, the project has already been created, and now we can access some scripts that were added for us in package.json. For that run:

npm run help

The main scripts needed for your project will be shown.

💻 Create new Dashboard

Well, let's create a new dashboard by running the command:

npm run add:dashboard nameOfDashboard

A folder will be created with the name you chose for your dashboard, located in the path "./src/dashboards/nameOfDashboard”. In this folder there will be an HTML file, with CSS and a TSX where you can program your dash as needed.

Attention: When creating a new project or a new dashboard, make sure that the name does not have special characters.

🏃🏻‍♂️ Running

🏳 Development

In the development environment, run the command followed by the name of your dashboard.

npm start:dev nameOfDashboard

The project is running under port 3000, in case of problems, just pass the argument for changing the port followed by the port number, as in the example below:

npm start:dev nameOfDashboard -- --port 5000

🔥 Production

In production mode, a folder will be generated with the files used and a zip that can be imported into ERP Sankhya through the HTML5 component. For that run:

npm run build:sankhya nameOfDashboard

A folder with the path "./build/NameOfDashboard" will be added.

🎇 Final considerations.

This library makes an intermediary between the code executed with React making build and executions that facilitate the development of dashboard in ERP Sankhya. However, it is good to note that this project does NOT have connections with the company that developed the ERP, being a project maintained only by open source. Any and all bugs or suggestions found can be directed to the Issues section of github.

⚙ Tools Used

Production

Development

💪🏻 Contributions

📃 Licença