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.1",
|
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 | "microbundle": "^0.13.3",
|
72 | "mocha": "^7.1.1",
|
73 | "mocha-chrome": "^2.2.0",
|
74 | "sass": "^1.32.8",
|
75 | "sinon": "^9.0.2"
|
76 | }
|
77 | }
|