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

@minix-iot/ets-loader

v0.0.2

Published

minix ets loader to transpile UI syntax

Downloads

4

Readme

compiler

The compiler tool chain for ace2.0.

Usage

Here are simplified instructions of how to get started. The following commands work both on Windows and Linux platforms.

1. Install

First, enter the root directory of the compiler:

$ cd compiler/

And then install the npm dependencies(You must have node&npm installed):

$ npm install

Note: If some errors occur, delete the generated package node_modules, please check the following items:

First, check whether your node version is 12.x or later; Secondly, config npm proxy and run npm install again.

npm config set strict-ssl false
npm config set registry https://registry.npm.taobao.org

2. Quick Start

For a quick start

In the root directory of compiler/:

$ npm run build
$ npm run compile

The sample project will be compiled. The output is in the sample/build directory.

3. Create a new project

The way to create a new project

In the root directory of compiler/:

$ npm run build
$ npm run create [projectName]

Note: If projectName is empty, create the HelloAce project by default.

For example, use the following line to create a project named foo:

$ npm run create foo

The directory structure of project foo:

  • foo
    • pages
      • index.ets
    • app.ets
    • manifest.json

4. Create a new page

For example, create a file bar.ets in the page directory. And then add the following lines to "page" field in manifest.json:

  "pages": [
    "pages/index",
    "pages/bar"
  ]

5. Compile a project

The way to compile a project

In the root directory of compiler/:

$ npm run build
$ npm run compile [projectName]

Note: If projectName is empty, compile the sample project by default. In the project root directory, the compilation result is in the build directory.