@gramlot/create 0.2.4 → 0.2.5
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 +1 -1
- package/package.json +1 -1
- package/templates/page/README.md +3 -0
- package/templates/site/README.md +3 -0
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
package/templates/page/README.md
CHANGED
|
@@ -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`.
|
package/templates/site/README.md
CHANGED
|
@@ -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`.
|