UNPKG

2.33 kBJSONView Raw
1{
2 "name": "hyperscript.org",
3 "description": "a small scripting language for the web",
4 "keywords": [
5 "scripting",
6 "HTML"
7 ],
8 "version": "0.9.5",
9 "homepage": "https://hyperscript.org/",
10 "bugs": {
11 "url": "https://github.com/bigskysoftware/_hyperscript/issues"
12 },
13 "license": "BSD 2-Clause",
14 "files": [
15 "LICENSE",
16 "README.md",
17 "dist/*"
18 ],
19 "main": "dist/_hyperscript_web.min.js",
20 "exports": {
21 ".": {
22 "import": "./dist/_hyperscript_web.modern.js",
23 "umd": "./dist/_hyperscript_web.min.js"
24 },
25 "./worker": {
26 "import": "./dist/worker.modern.js",
27 "umd": "./dist/worker.min.js"
28 },
29 "./socket": {
30 "import": "./dist/socket.modern.js",
31 "umd": "./dist/socket.min.js"
32 },
33 "./eventsource": {
34 "import": "./dist/eventsource.modern.js",
35 "umd": "./dist/eventsource.min.js"
36 },
37 "./hdb": {
38 "import": "./dist/hdb.modern.js",
39 "umd": "./dist/eventsource.min.js"
40 },
41 "./template": {
42 "import": "./dist/hdb.modern.js",
43 "umd": "./dist/eventsource.min.js"
44 }
45 },
46 "module": "./dist/_hyperscript_web.esm.js",
47 "unpkg": "dist/_hyperscript_web.min.js",
48 "bin": {
49 "_hyperscript": "src/bin/node-hyperscript.js"
50 },
51 "scripts": {
52 "test": "mocha-chrome test/index.html",
53 "www": "node scripts/www.js",
54 "dist": "npm run clear && npm run copy && npm run bundle-all",
55 "clear": "rm -rf dist/*",
56 "copy": "cp -r src/* dist/",
57 "bundle-module-plugins": "microbundle src/lib/plugin/*.js -f modern",
58 "bundle-umd-plugins": "microbundle src/web/plugin/*.js -f umd",
59 "bundle-hyperscript": "microbundle src/web/*.js -f modern,umd --name _hyperscript",
60 "bundle-all": "npm run bundle-hyperscript && npm run bundle-module-plugins && npm run bundle-umd-plugins"
61 },
62 "repository": {
63 "type": "git",
64 "url": "git+https://github.com/bigskysoftware/_hyperscript.git"
65 },
66 "devDependencies": {
67 "@11ty/eleventy": "^0.10.0",
68 "chai": "^4.2.0",
69 "eleventy-plugin-sass": "^1.0.0",
70 "fs-extra": "^9.0.0",
71 "markdown-it": "^12.3.2",
72 "markdown-it-anchor": "^8.4.1",
73 "markdown-it-attrs": "^4.1.3",
74 "markdown-it-table-of-contents": "^0.6.0",
75 "microbundle": "^0.13.3",
76 "mocha": "^7.1.1",
77 "mocha-chrome": "^2.2.0",
78 "sinon": "^9.0.2"
79 }
80}