-
-
Notifications
You must be signed in to change notification settings - Fork 161
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.58 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.58 KB
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
{
"name": "haskell-miso",
"version": "0.0.9",
"description": "miso: A tasty Haskell web and mobile framework",
"scripts": {
"clean": "tsc --build --clean && find ts -name '*~' -or -name '*.js' -delete && rm -rf out-tsc",
"clean-hs": "find src -type f -name '*.o' -or -name '*.hi' -or -name '*~undo-tree~*' | xargs rm",
"lint": "eslint --fix ts/*.ts",
"test": "bun test && bun run lcov",
"lcov": "lcov-viewer lcov -o ./coverage ./coverage/lcov.info",
"watch": "tsc --project tsconfig.lib.json --watch",
"watch-test": "tsc --project tsconfig.spec.json --watch",
"test-runner": "bun test --watch",
"pretty": "prettier --write ts/miso/*.ts ts/*.ts",
"build": "bun build --outfile=js/miso.js ./ts/index.ts --target=browser",
"prod": "bun build --outfile=js/miso.prod.js ./ts/index.ts --target=browser --minify",
"build-test": "bun build --outfile=./tests/js/test.js ./ts/tests.ts --target=bun",
"js": "bun run build && bun run prod"
},
"main": "./js/miso.js",
"module": "./ts/miso.ts",
"types": "./ts/miso.ts",
"exports": {
".": {
"import": {
"types": "./ts/miso.ts",
"default": "./ts/miso.ts"
},
"require": {
"types": "./ts/miso.ts",
"default": "./js/miso.js"
},
"default": "./ts/miso.ts"
},
"./package.json": "./package.json"
},
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/dmjio/miso.git"
},
"keywords": [
"miso",
"virtual-dom",
"haskell"
],
"author": "dmijo",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/dmjio/miso/issues"
},
"prettier": {
"singleQuote": true,
"printWidth": 100,
"quoteProps": "preserve"
},
"homepage": "https://haskell-miso.org",
"devDependencies": {
"@happy-dom/global-registrator": "^17.5.6",
"prettier": "3.5.3",
"@types/bun": "latest"
},
"files": [
"ts/miso.ts",
"ts/happydom.ts",
"ts/index.ts",
"ts/miso/dom.ts",
"ts/miso/event.ts",
"ts/miso/hydrate.ts",
"ts/miso/smart.ts",
"ts/miso/types.ts",
"ts/miso/util.ts",
"ts/miso/patch.ts",
"ts/miso/context/dom.ts",
"ts/miso/context/patch.ts",
"ts/miso.spec.ts",
"ts/spec/dom.ts",
"ts/spec/event.ts",
"ts/spec/hydrate.ts",
"ts/spec/patch.ts",
"ts/spec/smart.ts",
"ts/spec/types.ts",
"ts/spec/util.ts",
"package.json",
"README.md"
],
"dependencies": {
"@lcov-viewer/cli": "^1.3.0",
"playwright": "1.53",
"typescript": "^5.8.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}