forked from developit/vhtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.91 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
{
"name": "vhtml",
"amdName": "vhtml",
"version": "2.2.2",
"description": "Hyperscript reviver that constructs a sanitized HTML string.",
"main": "./dist/vhtml.cjs.js",
"module": "./dist/vhtml.es.js",
"browser": "./dist/vhtml.umd.js",
"types": "./dist/types/vhtml.d.ts",
"minified:main": "./dist/vhtml.umd.js",
"jsnext:main": "./src/vhtml.ts",
"scripts": {
"release1": "git add . && git commit -m \"Bump version\" && git push && pnpm version patch",
"preinstall": "npx only-allow pnpm",
"build": "vite build && tsc --declaration && pnpm size",
"tsc": "tsc",
"size": "echo \"gzip size: $(gzip-size $npm_package_minified_main | pretty-bytes)\"",
"test": "mocha --require esbuild-register test/**/*.ts*",
"prepublish": "pnpm build && pnpm test",
"release": "npm run -s build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"files": [
"src",
"dist"
],
"keywords": [
"hyperscript",
"html",
"renderer",
"strings"
],
"repository": {
"type": "git",
"url": "git+https://github.com/developit/vhtml.git"
},
"author": "Jason Miller <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developit/vhtml/issues"
},
"homepage": "https://github.com/developit/vhtml",
"devDependencies": {
"chai": "^5.1.0",
"esbuild-register": "^3.5.0",
"eslint": "^9.0.0",
"gzip-size-cli": "^5.1.0",
"mocha": "^10.4.0",
"npm-run-all": "^4.1.5",
"pretty-bytes-cli": "^3.0.0",
"uglify-js": "^3.17.4",
"vite": "^5.2.8",
"vite-plugin-clean": "^1.0.0"
},
"dependencies": {
"@types/mocha": "^10.0.2",
"pnpm": "^8.15.7",
"typescript": "5.4.5"
}
}