-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.75 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "htb",
"version": "0.0.1",
"description": "Htb.js — a 50-line HTML template engine that uses JavaScript syntax.",
"main": "./dist/cjs/cjs.js",
"module": "./dist/esm/htb.js",
"types": "./dist/cjs/htb.d.ts",
"scripts": {
"fixCjsPackage": "echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"fixEsmPackage": "echo '{ \"type\": \"module\" }' > dist/esm/package.json",
"fixup": "node --run fixCjsPackage && node --run fixEsmPackage",
"build": "rm -rf dist && tsc && tsc -p tsconfig-esm.json && node --run fixup",
"test": "node --run build && node --test dist/cjs/test.js",
"prepublishOnly": "node --run build"
},
"exports": {
".": {
"import": "./dist/esm/htb.js",
"require": "./dist/cjs/cjs.js"
}
},
"files": [
"cjs.ts",
"htb.ts",
"dist/cjs/package.json",
"dist/cjs/htb.js",
"dist/cjs/htb.d.ts",
"dist/cjs/htb.d.ts.map",
"dist/cjs/cjs.js",
"dist/cjs/cjs.d.ts",
"dist/cjs/cjs.d.ts.map",
"dist/esm/package.json",
"dist/esm/htb.js",
"dist/esm/htb.d.ts",
"dist/esm/htb.d.ts.map"
],
"repository": {
"type": "git",
"url": "git+https://github.com/noway/htb.git"
},
"keywords": [
"html",
"template",
"engine",
"json2html",
"web",
"templating",
"builder",
"templates",
"simple",
"dsl",
"lightweight",
"pug",
"mustache",
"handlebars",
"ejs"
],
"homepage": "https://github.com/noway/htb#readme",
"bugs": {
"url": "https://github.com/noway/htb/issues"
},
"author": "Ilia Sidorenko <[email protected]>",
"license": "MIT",
"dependencies": {
"html-entities": "^2.5.2"
},
"devDependencies": {
"@types/node": "^20.12.11",
"typescript": "^5.4.5"
}
}