- Static compiler with STRC pattern (Static Template Resolution with
Compartmentalized Layers)
- Template syntax: { } interpolation, { s-for }, { s-if/s-elif/s-else
}
- File types: .strata, .compiler.sts, .service.sts, .api.sts, .sts,
.scss
- CLI tools: strata dev, strata build, strata g (generators)
- create-strata scaffolding CLI with Pokemon API example
- Dev server with WebSocket HMR (Hot Module Replacement)
- Documentation: README, ARCHITECTURE, CHANGELOG, CONTRIBUTING,
LICENSE
84 lines
2.3 KiB
JSON
84 lines
2.3 KiB
JSON
{
|
|
"name": "strata",
|
|
"version": "0.1.0",
|
|
"description": "Strata - Static Template Rendering Architecture. Fast, modern framework with static-first approach, islands architecture, and cross-tab state management.",
|
|
"keywords": [
|
|
"frontend",
|
|
"framework",
|
|
"jamstack",
|
|
"islands",
|
|
"static",
|
|
"typescript",
|
|
"state-management",
|
|
"microfrontends"
|
|
],
|
|
"author": "Strata Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/strata/strata.git"
|
|
},
|
|
"homepage": "https://stratajs.dev",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./store": {
|
|
"import": "./dist/store.mjs",
|
|
"require": "./dist/store.js",
|
|
"types": "./dist/store.d.ts"
|
|
},
|
|
"./fetch": {
|
|
"import": "./dist/fetch.mjs",
|
|
"require": "./dist/fetch.js",
|
|
"types": "./dist/fetch.d.ts"
|
|
}
|
|
},
|
|
"bin": {
|
|
"strata": "./bin/strata"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin",
|
|
"runtime",
|
|
"templates"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build:runtime && npm run build:compiler",
|
|
"build:runtime": "tsup runtime/core/strata.sts runtime/store/store.sts runtime/fetch/fetch.sts --format esm,cjs --dts",
|
|
"build:compiler": "cd compiler && go build -ldflags='-s -w' -o ../bin/strata ./cmd/strata",
|
|
"dev": "tsup --watch",
|
|
"test": "vitest",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepublishOnly": "npm run build",
|
|
"install:local": "./scripts/install.sh",
|
|
"install:global": "./scripts/install.sh --global",
|
|
"uninstall": "./scripts/uninstall.sh",
|
|
"upgrade": "./scripts/upgrade.sh",
|
|
"upgrade:check": "./scripts/upgrade.sh --check",
|
|
"doctor": "./scripts/doctor.sh",
|
|
"doctor:fix": "./scripts/doctor.sh --fix",
|
|
"setup": "npm run build:compiler && npm install",
|
|
"clean": "rm -rf bin/ dist/ .strata/",
|
|
"release": "make release"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^1.0.0",
|
|
"eslint": "^8.55.0"
|
|
},
|
|
"peerDependencies": {},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|