-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "grainbox",
"version": "1.1.1",
"license": "MIT",
"description": "A minimal reactivity solution sans compiling or bundling, allowing SPAs to be built without compilers, bundlers or even NPM.",
"keywords": [
"api-first",
"small",
"minimal",
"fine-grained",
"reactive",
"state management",
"frp",
"fp",
"functional",
"functional-reactive-programming",
"front-end",
"framework",
"vanilla",
"grain",
"grainstack"
],
"repository": {
"type": "git",
"url": "https://github.com/grainstackdev/grainbox.git"
},
"type": "module",
"exports": {
".": {
"node": "./dist/esm/index.js",
"default": "./dist/cdn/index.js"
},
"./reactive": {
"node": "./dist/esm/reactive.js",
"default": "./dist/cdn/reactive.js"
},
"./history": {
"node": "./dist/esm/history.js",
"default": "./dist/cdn/history.js"
},
"./routing": {
"node": "./dist/esm/routing.js",
"default": "./dist/cdn/routing.js"
},
"./hyperscript": {
"node": "./dist/esm/grainbox-hyperscript.js",
"default": "./dist/cdn/grainbox-hyperscript.js"
},
"./hyperscript.js": {
"node": "./dist/esm/grainbox-hyperscript.js",
"default": "./dist/cdn/grainbox-hyperscript.js"
},
"./html-tag": {
"node": "./dist/esm/html-tag.js",
"default": "./dist/cdn/html-tag.js"
},
"./*": {
"node": "./dist/esm/*.js",
"default": "./dist/cdn/*.js"
},
"./*.js": {
"node": "./dist/esm/*.js",
"default": "./dist/cdn/*.js"
},
"./*.mjs": {
"node": "./dist/esm/*.js",
"default": "./dist/cdn/*.js"
}
},
"unpkg": "./dist/cdn/index.js",
"main": "./dist/esm/index.js",
"files": [
"./docs",
"./dist",
"./examples"
],
"scripts": {
"start": "rebuild -w src --spawn 'npm run build' -o build",
"build": "rm -rf dist && mkdir dist && flow-remove-types src --out-dir dist/esm && flow-copy-source src dist/esm && npm run build-cdn && prettier --write dist",
"build-cdn": "cp -r dist/esm dist/cdn && rm dist/cdn/*.flow && node scripts/copy-node-modules.js && web-imports --glob 'dist/cdn/*.{js,mjs}' --prefix './node_modules/'",
"prepublishOnly": "npm run build",
"readme": "git add . && git commit -m 'readme' && npm version patch && git push && npm publish",
"test": "npm run build && boxtape tests/**/*.test.js",
"test-j": "npm run build && boxtape tests/j.test.js",
"test-r": "boxtape tests/reactive.test.js"
},
"devDependencies": {
"boxtape": "^0.0.13",
"flow-bin": "0.195.1",
"flow-copy-source": "^2.0.9",
"flow-remove-types": "^2.197.0",
"fs-extra": "^11.1.0",
"jsdom": "^22.1.0",
"prettier": "^2.8.1",
"rebuild-aio": "^1.1.9",
"sinon": "^15.2.0",
"web-imports": "3.1.13"
},
"dependencies": {
"history-events": "^1.0.4",
"htm": "^3.1.1",
"html-element": "^2.3.1",
"qss": "^3.0.0",
"regexparam": "^2.0.1"
},
"engines": {
"node": ">=16.17.1"
}
}