chore: scaffold v8 monorepo — npm workspaces, node:test, GitHub Actions CI
The v7 source at the repo root is untouched; v8 work lives in packages/. See docs/v8.md for layout and status against the modernization plan. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014NgfSjHE11oFpoSnLVKLXd
This commit is contained in:
co-authored by
Claude Fable 5
parent
3e5988fba5
commit
3d6b474621
+11
-71
@@ -1,78 +1,18 @@
|
||||
{
|
||||
"name": "choo",
|
||||
"version": "7.1.0",
|
||||
"description": "A 4kb framework for creating sturdy frontend applications",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"html/index.js",
|
||||
"html/raw.js",
|
||||
"html/index.d.ts",
|
||||
"component/cache.js",
|
||||
"component/index.js",
|
||||
"dist",
|
||||
"example"
|
||||
"name": "@choojs/monorepo",
|
||||
"private": true,
|
||||
"version": "8.0.0-dev",
|
||||
"description": "Monorepo for choo v8 — a 4kb framework for creating sturdy frontend applications",
|
||||
"type": "module",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"browser": {
|
||||
"assert": "nanoassert"
|
||||
"engines": {
|
||||
"node": ">=24"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "mkdir -p dist/ && browserify index -s Choo -p bundle-collapser/plugin > dist/bundle.js && browserify index -s Choo -p tinyify > dist/bundle.min.js && cat dist/bundle.min.js | gzip --best --stdout | wc -c | pretty-bytes",
|
||||
"deps": "dependency-check --entry ./html/index.js . && dependency-check . --extra --no-dev --entry ./html/index.js --entry ./component/index.js -i nanoassert",
|
||||
"inspect": "browserify --full-paths index -p tinyify | discify --open",
|
||||
"prepublishOnly": "npm run build",
|
||||
"start": "bankai start example",
|
||||
"test": "standard && npm run deps && npm run test:types && npm run test:node && npm run test:browser",
|
||||
"test:types": "tsd",
|
||||
"test:node": "node test/node.js | tap-format-spec",
|
||||
"test:browser": "browserify test/browser.js | tape-run | tap-format-spec"
|
||||
"test": "node --test packages/core/test/ packages/html/test/"
|
||||
},
|
||||
"repository": "choojs/choo",
|
||||
"keywords": [
|
||||
"client",
|
||||
"frontend",
|
||||
"framework",
|
||||
"minimal",
|
||||
"composable",
|
||||
"tiny"
|
||||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"document-ready": "^2.0.1",
|
||||
"nanoassert": "^1.1.0",
|
||||
"nanobus": "^4.4.0",
|
||||
"nanocomponent": "^6.5.0",
|
||||
"nanohref": "^3.0.0",
|
||||
"nanohtml": "^1.1.0",
|
||||
"nanolru": "^1.0.0",
|
||||
"nanomorph": "^5.1.2",
|
||||
"nanoquery": "^1.1.0",
|
||||
"nanoraf": "^3.0.0",
|
||||
"nanorouter": "^4.0.0",
|
||||
"nanotiming": "^7.0.0",
|
||||
"scroll-to-anchor": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tap-format/spec": "^0.2.0",
|
||||
"browserify": "^16.2.2",
|
||||
"bundle-collapser": "^1.2.1",
|
||||
"dependency-check": "^3.1.0",
|
||||
"disc": "^1.3.3",
|
||||
"hyperscript": "^2.0.2",
|
||||
"pretty-bytes-cli": "^2.0.0",
|
||||
"spok": "^0.9.1",
|
||||
"standard": "^11.0.1",
|
||||
"tape": "^4.6.3",
|
||||
"tape-run": "^6.0.0",
|
||||
"tinyify": "^2.2.0",
|
||||
"tsd": "^0.11.0"
|
||||
},
|
||||
"tsd": {
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"DOM"
|
||||
]
|
||||
}
|
||||
}
|
||||
"license": "MIT"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user