Skip to content

Commit

Permalink
feat: refactor pugserver
Browse files Browse the repository at this point in the history
fix(Security): update dependencies
enhancement: add linting
  • Loading branch information
ctrlaltdev committed Dec 25, 2019
1 parent 63c1680 commit 3dd6a9d
Show file tree
Hide file tree
Showing 11 changed files with 6,141 additions and 666 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
env:
browser: true
commonjs: true
es6: true
jest: true
extends:
- standard
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2018
rules: {}
Empty file removed .scannerwork/.sonar_lock
Empty file.
7 changes: 0 additions & 7 deletions .scannerwork/report-task.txt

This file was deleted.

4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v1.1.0

* refactor the server to drop the pug extention in the url
* change so that trailing slash in url will look for index.pug file
* add linting
* update dependencies

v1.0.4

* update dependencies to resolve security vulnerabilities
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ npm install -g pugserver
pugserver path/to/myfolder
```

Open your browser to [http://localhost:8080/index.pug](http://localhost:8080/index.pug)
Open your browser to [http://localhost:8080/](http://localhost:8080/)

The path argument is optional. If not present it will default to current directory.
You can choose to run your server on another port than 8080. To do so, use the -p flag followed by the port number:
Expand Down
8 changes: 0 additions & 8 deletions _config.yml

This file was deleted.

Loading

0 comments on commit 3dd6a9d

Please sign in to comment.