1 | {
|
2 | "name": "hyperscript.org",
|
3 | "description": "a small scripting language for the web",
|
4 | "keywords": [
|
5 | "scripting",
|
6 | "HTML"
|
7 | ],
|
8 | "version": "0.8.2",
|
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/*.js"
|
18 | ],
|
19 | "main": "dist/_hyperscript.min.js",
|
20 | "unpkg": "dist/_hyperscript.min.js",
|
21 | "scripts": {
|
22 | "test": "mocha-chrome test/index.html",
|
23 | "www": "node scripts/www.js",
|
24 | "dist": "npm run clear && npm run copy && npm run concat && npm run terser && npm run gzip",
|
25 | "clear": "rm -rf dist/*",
|
26 | "copy": "cp -r src/* dist/",
|
27 | "concat": "npm run concat:hyperscript && npm run concat:w9y",
|
28 | "concat:hyperscript": "concat src/lib/core.js src/lib/web.js -o dist/_hyperscript.js",
|
29 | "concat:w9y": "concat src/lib/core.js src/lib/web.js src/lib/worker.js src/lib/template.js src/lib/socket.js src/lib/eventsource.js -o dist/_hyperscript_w9y.js",
|
30 | "terser": "npm run terser:hyperscript && npm run terser:core && npm run terser:web && npm run terser:worker && npm run terser:w9y",
|
31 | "terser:hyperscript": "terser -m eval -o dist/_hyperscript.min.js dist/_hyperscript.js",
|
32 | "terser:core": "terser -m eval -o dist/lib/core.min.js dist/lib/core.js",
|
33 | "terser:web": "terser -m eval -o dist/lib/web.min.js dist/lib/web.js",
|
34 | "terser:worker": "terser -m eval -o dist/lib/worker.min.js dist/lib/worker.js",
|
35 | "terser:w9y": "terser -m eval -o dist/_hyperscript_w9y.min.js dist/_hyperscript_w9y.js",
|
36 | "gzip": "npm run gzip:hyperscript && npm run gzip:core && npm run gzip:web && npm run gzip:worker && npm run gzip:w9y",
|
37 | "gzip:hyperscript": "gzip -k -f dist/_hyperscript.min.js",
|
38 | "gzip:web": "gzip -k -f dist/lib/web.min.js",
|
39 | "gzip:core": "gzip -k -f dist/lib/core.min.js",
|
40 | "gzip:worker": "gzip -k -f dist/lib/worker.min.js",
|
41 | "gzip:w9y": "gzip -k -f dist/_hyperscript_w9y.min.js"
|
42 | },
|
43 | "repository": {
|
44 | "type": "git",
|
45 | "url": "git+https://github.com/bigskysoftware/_hyperscript.git"
|
46 | },
|
47 | "devDependencies": {
|
48 | "@11ty/eleventy": "^0.10.0",
|
49 | "chai": "^4.2.0",
|
50 | "concat": "^1.0.3",
|
51 | "eleventy-plugin-sass": "^1.0.0",
|
52 | "fs-extra": "^9.0.0",
|
53 | "mocha": "^7.1.1",
|
54 | "mocha-chrome": "^2.2.0",
|
55 | "node-sass": "^5.0.0",
|
56 | "sass": "^1.32.8",
|
57 | "sinon": "^9.0.2",
|
58 | "terser": "^5.9.0"
|
59 | }
|
60 | }
|