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

@coon-js/extjs-build

v0.0.1

Published

Script to build extjs classic/modern along with themes to include in production/development/testing environments

Downloads

1

Readme

@coon-js/extjs-build

This npm-package provides the build process for the Sencha ExtJS framework, including modern- and classic-toolkit.

The official Sencha NPM registry provides access to almost all of their packages, but prebuild versions of the sdks are not available. This package makes sure that the current versions of @sencha/ext-modern and @sencha/ext-classic are built and available in the package this tool is used in, e.g. for testing Sencha ExtJS npm packages.

Installation

npm install --save-dev @coon-js/extjs-build

Features

  • Supports build process for both modern- and classic-toolkit
  • Creates theme-triton css-files for both toolkits

Usage

Navigate to the package that requires build-versions of ExtJS and make sure you have installed the required libraries and themes. This tool expects the following @sencha-npm packages to be available as installed node-modules:

Packages can be obtained by signing in into the sencha realm using npm. A detailed description of the process can be found here: https://docs.sencha.com/extjs/7.4.0/guides/using_systems/using_npm/npm_repo_access.html

Once the modules have been installed, call extjs-build

dev/mypackage> npx extjs-build -h

Usage: extjsbuild (-p <ypath>

  Creates extjs classic/modern builds and drops them at "build/extjs/[classic|modern]".
  Note:
  This script assumes that the necessary npm-packages are available in ./node_modules/@sencha

Options:

  -h, --help           Display this usage info
  -p, --path  <path>   The target folder for the generated files. Defaults to  "./build".

Providing no drop target for the build will use ./build as the default folder:

dev/mypackage> npx extjs-build

This will create the following files on your system:

dev
   /mypackage
             /build (*)
                   /extjs-build
                               /extjs
                                     /classic
                                             /theme-triton
                                     /modern
                                             /theme-triton
(*) This folder will be replaced with any folder you specify with the "-p" option, e.g.
extjs-build -p testing creates:

dev
   /mypackage
             /testing (*)
                     /extjs-build
                                 / ...

Once the build has finished, you can access all regular (debug)-files for the ExtJS-library, along with the pre-build css-files.