@gramlot/create 0.2.4 → 0.2.6

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 CHANGED
@@ -15,7 +15,7 @@ then:
15
15
  cd my-form
16
16
  npm install
17
17
  npm run build # page: index.html, one file; site: dist/, one folder per page
18
- npm start # the same pages on http://127.0.0.1:8080/ with Node
18
+ npm start # development: the same pages on http://127.0.0.1:8080/ with Node
19
19
  npm run start:bun # the same with Bun
20
20
  ```
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gramlot/create",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "npm create @gramlot page|site <folder>: a new Gramlot project with one page or a site of pages",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,3 +13,6 @@ npm run start:bun # the same with Bun
13
13
  `index.html` can travel by mail, on a USB stick or on any web site. The data typed
14
14
  in it stay in the browser of whoever fills it in; the buttons send them by email,
15
15
  save them to a file or download them (`gramlot.inout`).
16
+
17
+ `npm start` is for development: `serve.mjs` serves this folder, `node_modules`
18
+ included. To publish the page, use `index.html` from `npm run build`.
@@ -14,3 +14,6 @@ npm run start:bun # the same with Bun
14
14
 
15
15
  The menu links `registration/index.html`: the same link works from `dist/`
16
16
  opened from disk, on a static web site and with `npm start`.
17
+
18
+ `npm start` is for development. To publish the site, use `dist/` from
19
+ `npm run build`.