Skip to content

Commit 51e40fe

Browse files
author
Samet Tarim
committed
Update
- Dependencies - Fix prompt destination
1 parent 1e9e7a9 commit 51e40fe

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ This command build the dist folder with the end product.
261261
```
262262
newsletter$ npm run release
263263
```
264+
265+
To close (stop the localhost server) the NPM run type in console (Terminal):
266+
Ctrl + C
267+
264268
## Create a new Component
265269

266270
### Images and Videos

app/settings/defaults/global.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function createGlobalJson(answer) {
77
let globalJsonConf = {
88
"baseurl": "https://mydomain",
99
"imgUrl": "https://thirdserver",
10-
"dest": answer.name + "/" + answer.campaign + "/" + answer.year,
10+
"dest": answer.name + "/" + answer.year + "/" + answer.project,
1111
"port": "9001",
1212
// "cwd": answer.device ? ("'" + answer.device + "'") : "",
1313
"upload": true

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "generator-webpack-preact",
3-
"description": "Create professional projects and manage in environment with Webpack, TypeScript, Preact, Redux-Zero and Babel. HTML (5), SASS (CSS), TS (X) and JS (X). Small and compact solution.",
4-
"version": "1.2.8",
3+
"description": "Create professional projects and manage in environment with Webpack, TypeScript, Preact, Redux-Zero and Babel. HTML (5), SASS (CSS), TS (X) and JS (X). Small and compact solution. By prod3v3loper",
4+
"version": "1.2.9",
55
"main": "./app/index.js",
66
"scripts": {},
77
"files": [
88
"app"
99
],
1010
"devDependencies": {},
1111
"dependencies": {
12-
"@webpack-cli/webpack-scaffold": "^0.1.5",
13-
"preact": "^8.4.2",
14-
"redux-zero": "^5.0.4",
15-
"yeoman-generator": "^4.0.1"
12+
"@webpack-cli/webpack-scaffold": "^1.0.3",
13+
"preact": "^10.5.11",
14+
"redux-zero": "^5.1.7",
15+
"yeoman-generator": "^4.12.0"
1616
},
1717
"repository": {
1818
"type": "git",
@@ -40,4 +40,4 @@
4040
"url": "https://github.com/prod3v3loper/generator-webpack-preact/issues"
4141
},
4242
"homepage": "https://www.tnado.com/blog/generate-webpack-with-typescript-preact-redux-zero-and-babel/"
43-
}
43+
}

0 commit comments

Comments
 (0)