forked from heapwolf/giant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.85 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 3.85 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
96
{
"name": "@substrate-system/tonic",
"version": "17.2.0",
"description": "A component framework.",
"main": "dist/index.js",
"files": [
"dist/*"
],
"type": "module",
"scripts": {
"lint": "eslint ./src/index.ts ./test/index.js",
"test": "npm run build && esbuild --bundle test/index.js | tapout",
"test:open": "npm run build && esbuild --bundle test/index.js | tape-run --browser chrome --keep-open",
"test:ssr": "esbuild ./test/ssr.js --bundle | node",
"build-cjs": "esbuild src/*.ts --format=cjs --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.cjs --sourcemap",
"build-cjs:min": "esbuild src/*.ts --format=cjs --minify --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.min.cjs --sourcemap",
"build:main": "esbuild src/*.ts --tsconfig=tsconfig.build.json --sourcemap --keep-names --define:VERSION=\\\"$npm_package_version\\\" --outdir=dist && tsc --emitDeclarationOnly --project tsconfig.build.json --outDir dist",
"build-esm": "esbuild src/*.ts --format=esm --metafile=dist/meta.json --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --sourcemap --out-extension:.js=.mjs && tsc --emitDeclarationOnly --project tsconfig.build.json --outDir dist",
"build-esm:min": "esbuild ./src/*.ts --format=esm --keep-names --bundle --tsconfig=tsconfig.build.json --minify --out-extension:.js=.min.mjs --outdir=./dist --sourcemap",
"build-docs": "typedoc ./src/index.ts",
"build:example": "vite --base=\"/tonic/demo\" build",
"build:hydration": "npm run build && esbuild example-hydration/server.ts --bundle --platform=node --packages=external | node",
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build:main && npm run build-esm && npm run build-esm:min && npm run build-cjs:min",
"toc": "markdown-toc --maxdepth 4 -i README.md",
"start": "vite",
"start:hydration": "npm run build:hydration && vite --config vite.config.hydration.js",
"preversion": "npm run lint",
"version": "npm run toc && auto-changelog -p --template keepachangelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md README.md",
"postversion": "git push --follow-tags && npm publish",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@substrate-system/morphdom": "2.7.7",
"parse5": "8.0.0"
},
"devDependencies": {
"@substrate-system/debug": "0.9.23",
"@substrate-system/tapout": "0.0.20",
"@substrate-system/tapzero": "0.10.15",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"auto-changelog": "2.4.0",
"benchmark": "^2.1.4",
"esbuild": "^0.25.4",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"markdown-toc": "1.2.0",
"postcss-nesting": "13.0.2",
"tap-spec": "5.0.0",
"tape-run": "^11.0.0",
"typedoc": "0.26.6",
"uuid": "^11.1.0",
"vite": "7.1.4"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./render-to-string": {
"import": "./dist/render-to-string.js",
"require": "./dist/render-to-string.cjs"
},
"./hydrate": {
"import": "./dist/hydrate.js",
"require": "./dist/hydrate.cjs"
},
"./min": {
"import": "./dist/index.min.js",
"require": "./dist/index.min.cjs"
}
},
"contributors": [
{
"name": "nichoth",
"email": "nichoth@nichoth.com",
"url": "https://nichoth.com/"
},
{
"name": "Raynos",
"email": "raynos2@gmail.com"
}
],
"license": "SEE LICENSE IN LICENSE",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/substrate-system/tonic.git"
},
"bugs": {
"url": "https://github.com/substrate-system/tonic/issues"
},
"homepage": "https://github.com/substrate-system/tonic"
}