-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.63 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
{
"name": "hobo-js",
"version": "1.0.2",
"description": "A little utility to generate html inside your js/ts code",
"main": "dist/hobo.js",
"module": "dist/hobo.mjs",
"unpkg": "dist/hobo.umd.min.js",
"types": "dist/types/hobo.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "jest --coverage",
"clean": "rm -fr dist",
"build": "npm run clean && tsc -d --project tsconfig.build.json && build:docs && npm run bundle:esm && npm run bundle:esm:min && npm run bundle:umd && npm run bundle:umd:min",
"bundle:esm": "rollup dist/hobo.js --file dist/hobo.mjs --format esm",
"bundle:esm:min": "terser --ecma 6 --compress --mangle --module -o dist/hobo.min.mjs -- dist/hobo.mjs && gzip -9 -c dist/hobo.min.mjs > dist/hobo.min.mjs.gz",
"bundle:umd": "rollup dist/hobo.js --file dist/hobo.umd.js --format umd --name sayHello",
"bundle:umd:min": "terser --ecma 6 --compress --mangle -o dist/hobo.umd.min.js -- dist/hobo.umd.js && gzip -9 -c dist/hobo.umd.min.js > dist/hobo.umd.min.js.gz",
"build:docs": "typedoc --out docs src/*.ts"
},
"keywords": [
"js",
"ts",
"generate",
"html",
"from",
"code",
"typed",
"template",
"build",
"in-code"
],
"author": "nombrekeff",
"repository": {
"git": "https://github.com/nombrekeff/hobo-js"
},
"license": "ISC",
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.7.0",
"jest": "^29.7.0",
"rollup": "^3.29.4",
"terser": "^5.21.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"typedoc": "^0.25.1",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
}