-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.76 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.76 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
{
"name": "@9elt/miniframe",
"version": "0.16.1",
"description": "A better version of document.createElement with support for JSX and minimal state management in 500 LOC",
"main": "./dist/esm/index.js",
"types": "./index.d.ts",
"type": "module",
"bin": {
"@9elt/miniframe": "./template/bin.js"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./index.d.ts"
},
"./jsx-runtime": {
"import": "./dist/esm/jsx-runtime.js",
"require": "./dist/cjs/jsx-runtime.js",
"types": "./jsx-runtime.d.ts"
},
"./jsx-dev-runtime": {
"import": "./dist/esm/jsx-runtime.js",
"require": "./dist/cjs/jsx-runtime.js",
"types": "./jsx-runtime.d.ts"
},
"./polyfill": {
"import": "./dist/esm/polyfill.js",
"require": "./dist/cjs/polyfill.js",
"types": "./polyfill.d.ts"
}
},
"scripts": {
"test": "bun test && tsc",
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && echo '{\"type\":\"commonjs\"}'>dist/cjs/package.json",
"generate:types": "bun scripts/generate.types.ts",
"pub": "npm run build && npm run test && npm publish"
},
"author": "Lorenzo Cicuttin",
"license": "MIT",
"keywords": [
"state",
"state-management",
"createElement",
"createNode",
"jsx"
],
"readme": "./README.md",
"homepage": "https://9elt.github.io/miniframe",
"repository": "github:9elt/miniframe",
"devDependencies": {
"@types/bun": "^1.2.20",
"@types/jsdom": "^21.1.7",
"jsdom": "^22.1.0"
}
}