ssl-express-www
Advanced tools
Comparing version 3.0.8 to 3.0.9
{ | ||
"name": "ssl-express-www", | ||
"version": "3.0.8", | ||
"version": "3.0.9", | ||
"description": "Redirecting HTTP to HTTPS. It forces SSL (HTTPS) when HTTP is required using Express (Nodejs) and remove www and trailing slash on your domain.", | ||
@@ -11,3 +11,4 @@ "main": "index.js", | ||
"test": "./node_modules/.bin/mocha specs/**/*.spec.js --require babel-register", | ||
"test-watch": "yarn test -- --watch || ECHO." | ||
"test-watch": "yarn test -- --watch || ECHO.", | ||
"gen:contributors": "githubcontrib --owner brunomacedo --repo ssl-express-www --sortBy contributions --sortOrder desc --filter brunomacedo,dependabot[bot] --layoutStrategy $INIT_CWD/.github/contributors-list/layout-strategy-custom.js" | ||
}, | ||
@@ -46,2 +47,5 @@ "keywords": [ | ||
"license": "MIT", | ||
"publishConfig": { | ||
"brunomacedo:registry": "https://npm.pkg.github.com/" | ||
}, | ||
"devDependencies": { | ||
@@ -63,2 +67,3 @@ "babel-cli": "^6.26.0", | ||
"eslint-plugin-react": "^7.5.1", | ||
"github-contributors-list": "^1.2.5", | ||
"mocha": "^4.1.0", | ||
@@ -65,0 +70,0 @@ "rimraf": "^2.6.2", |
@@ -9,4 +9,4 @@ # Force SSL using Express (Redirect HTTP to HTTPS) | ||
```prompt | ||
npm i ssl-express-www | ||
```bash | ||
npm install ssl-express-www | ||
``` | ||
@@ -45,59 +45,4 @@ | ||
## Solve LF replace to CRLF on Git | ||
This command will solve the problem with linebreak replacement on `git commit`. | ||
```prompt | ||
git config --global core.autocrlf input | ||
``` | ||
## Contributing | ||
Babel@6 doesn't export default `module.exports` any more. | ||
```prompt | ||
npm i -D babel-plugin-add-module-exports | ||
``` | ||
Usage in file `.babelrc` | ||
```json | ||
{ | ||
"presets": ["env"], | ||
"plugins": [ | ||
"add-module-exports" | ||
] | ||
} | ||
``` | ||
## Update package version | ||
View usage | [view](https://coderwall.com/p/9bx-iq/npm-to-bump-module-version) | ||
```prompt | ||
npm version patch -m "Bumped to version %s" | ||
``` | ||
v2.1.**1** | ||
```prompt | ||
npm version minor | ||
``` | ||
v1.**2**.1 | ||
```prompt | ||
npm version major | ||
``` | ||
v**3**.1.1 | ||
## List global NPM packages | ||
```prompt | ||
npm list -g --depth 0 | ||
``` | ||
## License | ||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5838
19
47