mist-lang 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +36 -0
  2. package/package.json +38 -0
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # mist-lang
2
+
3
+ Compiler for `.mist` single-file components. It targets native WeChat Mini Program code.
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ npm install -g mist-lang
9
+ ```
10
+
11
+ The install puts the `mistc` command on your PATH. A Rust toolchain is not necessary.
12
+
13
+ ## Use
14
+
15
+ ```sh
16
+ mistc build src -o dist
17
+ ```
18
+
19
+ ## Supported platforms
20
+
21
+ | Platform | Architecture |
22
+ |---|---|
23
+ | macOS | arm64, x64 |
24
+ | Linux (glibc) | x64, arm64 |
25
+ | Linux (musl) | x64 |
26
+ | Windows | x64 |
27
+
28
+ The correct binary installs automatically for your platform.
29
+
30
+ ## Documentation
31
+
32
+ See the [project README](../../README.md).
33
+
34
+ ## License
35
+
36
+ MIT
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "mist-lang",
3
+ "version": "0.1.0",
4
+ "description": "Mist compiler for WeChat mini-programs",
5
+ "bin": {
6
+ "mistc": "bin/mistc.js",
7
+ "mist-lang": "bin/mistc.js"
8
+ },
9
+ "files": [
10
+ "bin"
11
+ ],
12
+ "engines": {
13
+ "node": ">=16"
14
+ },
15
+ "keywords": [
16
+ "wechat",
17
+ "miniprogram",
18
+ "compiler",
19
+ "wxml",
20
+ "mist"
21
+ ],
22
+ "license": "MIT",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/TadejPolajnar/mist.git"
26
+ },
27
+ "dependencies": {
28
+ "@tailwindcss/cli": "^4"
29
+ },
30
+ "optionalDependencies": {
31
+ "@mist-lang/darwin-arm64": "0.1.0",
32
+ "@mist-lang/darwin-x64": "0.1.0",
33
+ "@mist-lang/linux-x64-gnu": "0.1.0",
34
+ "@mist-lang/linux-arm64-gnu": "0.1.0",
35
+ "@mist-lang/linux-x64-musl": "0.1.0",
36
+ "@mist-lang/win32-x64": "0.1.0"
37
+ }
38
+ }