@bouygues-telecom/staticjs 0.0.7 → 0.0.9
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 +3 -9
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# 🚀 StaticJS
|
|
4
4
|
|
|
5
|
-
**A modern boilerplate for creating static projects**
|
|
5
|
+
**A modern React boilerplate for creating static projects**
|
|
6
6
|
|
|
7
7
|
[](https://badge.fury.io/js/%40bouygues-telecom%2Fstaticjs)
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -84,19 +84,13 @@ cd your-project
|
|
|
84
84
|
npm i
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
### 3. Build the
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
npm run build
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
### 4. Start the server
|
|
87
|
+
### 3. Build & Start the server
|
|
94
88
|
|
|
95
89
|
```bash
|
|
96
90
|
npm run start
|
|
97
91
|
```
|
|
98
92
|
|
|
99
|
-
🎉 **Your project is now accessible at** `http://localhost:
|
|
93
|
+
🎉 **Your project is now accessible at** `http://localhost:3300`
|
|
100
94
|
|
|
101
95
|
## 🔄 Revalidation
|
|
102
96
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bouygues-telecom/staticjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"config",
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "cd templates/react && rimraf dist && rimraf cache && node ../../helpers/cachePages.js && vite build --config ../../vite.config.js && tsx ../../scripts/build-html.js",
|
|
18
|
-
"start": "cd templates/react &&
|
|
18
|
+
"start": "cd templates/react && npm start"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"cli-spinner": "^0.2.10",
|
|
22
22
|
"commander": "^14.0.0",
|
|
23
23
|
"giget": "^2.0.0",
|
|
24
|
+
"nodemon": "^3.1.10",
|
|
24
25
|
"path": "^0.12.7",
|
|
25
26
|
"readline": "^1.3.0",
|
|
26
27
|
"rimraf": "^6.0.1",
|