@s3p/cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/package.json +29 -0
- package/s3p.mjs +146 -0
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @s3p/cli
|
|
2
|
+
|
|
3
|
+
The CLI for [s3p](https://s3p.dev) — a managed app platform on AWS S3 + Cognito + IAM.
|
|
4
|
+
Apps are static SPAs that talk to S3 directly from the browser: S3 is the database,
|
|
5
|
+
Cognito is auth, IAM is authorization. No server to run.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm i -g @s3p/cli
|
|
9
|
+
|
|
10
|
+
s3p login # or: export S3P_AGENT_CODE=… (headless/agents)
|
|
11
|
+
s3p create-project --slug my-app --name "My App" --dir ./my-app
|
|
12
|
+
cd my-app && s3p build && s3p deploy
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
No AWS account needed — projects are provisioned on the platform's account, and
|
|
16
|
+
you get your own bucket, Cognito user pool, IAM roles, runtime Lambda and email
|
|
17
|
+
domain. Requires Node 20+. Self-contained: zero npm dependencies.
|
|
18
|
+
|
|
19
|
+
Docs: https://s3p.dev/docs · Agents: https://s3p.dev/llms.txt
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@s3p/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "CLI for s3p — the S3-native app platform. Create, build and deploy backend-free apps on AWS S3 + Cognito + IAM.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"s3p": "./s3p.mjs"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"s3p.mjs",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=20"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"s3p",
|
|
18
|
+
"s3",
|
|
19
|
+
"aws",
|
|
20
|
+
"cognito",
|
|
21
|
+
"iam",
|
|
22
|
+
"serverless",
|
|
23
|
+
"platform",
|
|
24
|
+
"deploy"
|
|
25
|
+
],
|
|
26
|
+
"homepage": "https://s3p.dev",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"dependencies": {}
|
|
29
|
+
}
|