@trustme24/flext 1.3.2 → 1.3.3
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.
- package/dist/index.cjs +301 -298
- package/dist/index.js +27 -27
- package/dist/lib.d.ts +1 -0
- package/package.json +4 -3
package/dist/lib.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare class HandlebarsCollector<T = any> extends Handlebars.Visitor {
|
|
|
14
14
|
setAst(ast: AST.Program): this;
|
|
15
15
|
collect(ast: AST.Program): T[];
|
|
16
16
|
}
|
|
17
|
+
export declare function isNumber(val: any): boolean;
|
|
17
18
|
export declare function isObject(val: any): boolean;
|
|
18
19
|
export declare function has(obj: Obj, key: string): boolean;
|
|
19
20
|
export declare function inarr(val: any, ...arr: any): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trustme24/flext",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "A Powerful Templating Engine",
|
|
5
5
|
"keywords": ["templates", "templating engine", "modular templates", "handlebars"],
|
|
6
6
|
"type": "module",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"./index.css": "./dist/index.css"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"test-flext:app": "cd test/app && npm run test-app",
|
|
19
|
-
"test-flext": "npm run test-flext:app",
|
|
20
18
|
"build:types": "tsc && tsc-alias",
|
|
21
19
|
"build:css": "tailwindcss -i ./src/index.tail.css -o ./dist/index.css --minify",
|
|
22
20
|
"build": "bin/build.mjs && npm run build:types && npm run build:css",
|
|
21
|
+
"test-flext:app": "npm run build && cd test/app && npm i && npm run test-app",
|
|
22
|
+
"test-flext": "npm run test-flext:app",
|
|
23
23
|
"prepare": "npm run build"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@unocss/preset-wind4": "^66.5.2",
|
|
46
46
|
"handlebars": "^4.7.8",
|
|
47
|
+
"luxon": "^3.7.2",
|
|
47
48
|
"unocss": "^66.5.2"
|
|
48
49
|
}
|
|
49
50
|
}
|