autofront 1.5.2 → 1.5.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.
Files changed (3) hide show
  1. package/README.md +9 -5
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,14 +1,18 @@
1
1
  # Autofront
2
2
 
3
- Gulp settings for projects.
3
+ Gulp settings for front-end projects.
4
+
5
+ ### Requirements
6
+
7
+ It is compatible with version [8.17.0](https://nodejs.org/dist/v8.17.0/) of [Node.js](https://nodejs.org).
4
8
 
5
9
  ## Tasks
6
10
 
7
- - `gulp` or `gulp serve` are for running a test (development) server with live reload.
8
- - With `gulp serve:dist`, the server is production, but without the reload.
9
- - `gulp build` builds the distributable version.
11
+ - `gulp` or `gulp serve` are for running a test server and develop with live reload.
12
+ - `gulp build` only builds the distributable version.
13
+ - With `gulp serve:dist`, a combination of the above is achieved: Specifically, the server runs this version but without reload.
10
14
 
11
- Additionally, a parameter can be included (e.g.: `gulp --dev` o `gulp build --pro`) to indicate the connection server. Defaults to local. And these domain URLs must to appear listed in `package.json` with the property `domains` (optionally also `domainsAliases`).
15
+ Additionally, a parameter can be included (e.g.: `gulp --dev` o `gulp build --pro`) to indicate the domain of connection path. Defaults to local. And these domain URLs must to appear listed in `package.json` with the property `domains` (optionally also `domainsAliases`).
12
16
 
13
17
  ## Folder structure
14
18
 
package/index.js CHANGED
@@ -32,7 +32,7 @@ const nl = '\n',
32
32
  tab = ' ';
33
33
 
34
34
  gulp.task('check', () => {
35
- const pckg = require('./package.json'),
35
+ const pckg = require('../../package.json'),
36
36
  domainAliases = pckg.domainAliases;
37
37
  var domainIndex = args[0]||'local';
38
38
  if (domainAliases) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "autofront",
3
- "version": "1.5.2",
4
- "description": "Gulp settings for projects.",
3
+ "version": "1.5.5",
4
+ "description": "Gulp settings for front-end projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"