1 | {
|
2 | "name": "hyperscript.org",
|
3 | "description": "a small scripting language for the web",
|
4 | "keywords": [
|
5 | "scripting",
|
6 | "HTML"
|
7 | ],
|
8 | "version": "0.0.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/*.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 uglify && npm run gzip",
|
25 | "clear": "rm -f dist/*",
|
26 | "copy": "cp -r src/* dist/",
|
27 | "concat": "concat src/_hyperscript.js src/worker.js -o dist/_hyperscript_w9y.js",
|
28 | "uglify": "npm run uglify:hyperscript && npm run uglify:worker && npm run uglify:w9y",
|
29 | "uglify:hyperscript": "uglifyjs -m eval -o dist/_hyperscript.min.js dist/_hyperscript.js",
|
30 | "uglify:worker": "uglifyjs -m eval -o dist/worker.min.js dist/worker.js",
|
31 | "uglify:w9y": "uglifyjs -m eval -o dist/_hyperscript_w9y.min.js dist/_hyperscript_w9y.js",
|
32 | "gzip": "npm run gzip:hyperscript && npm run gzip:worker && npm run gzip:w9y",
|
33 | "gzip:hyperscript": "gzip -k -f dist/_hyperscript.min.js",
|
34 | "gzip:worker": "gzip -k -f dist/worker.min.js",
|
35 | "gzip:w9y": "gzip -k -f dist/_hyperscript_w9y.min.js"
|
36 | },
|
37 | "repository": {
|
38 | "type": "git",
|
39 | "url": "git+https://github.com/bigskysoftware/_hyperscript.git"
|
40 | },
|
41 | "devDependencies": {
|
42 | "@11ty/eleventy": "^0.10.0",
|
43 | "chai": "^4.2.0",
|
44 | "concat": "^1.0.3",
|
45 | "eleventy-plugin-sass": "^1.0.0",
|
46 | "fs-extra": "^9.0.0",
|
47 | "mocha": "^7.1.1",
|
48 | "mocha-chrome": "^2.2.0",
|
49 | "node-sass": "^5.0.0",
|
50 | "sass": "^1.32.8",
|
51 | "sinon": "^9.0.2",
|
52 | "uglify-js": "^3.9.1"
|
53 | }
|
54 | }
|