Skip to content

Commit 92d0fbe

Browse files
Moved "host-environment" to the @jsdevtools scope
1 parent 89b016e commit 92d0fbe

File tree

4 files changed

+61
-33
lines changed

4 files changed

+61
-33
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Change Log
22
=======================================
33
All notable changes will be documented in this file.
4-
`host-environment` adheres to [Semantic Versioning](http://semver.org/).
4+
`@jsdevtools/host-environment` adheres to [Semantic Versioning](http://semver.org/).
55

66

77
[v1.2.0](https://github.com/JS-DevTools/ono/tree/v1.2.0) (2020-02-10)

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Host Environment
66
[![Build Status](https://github.com/JS-DevTools/host-environment/workflows/CI-CD/badge.svg)](https://github.com/JS-DevTools/host-environment/blob/master/.github/workflows/CI-CD.yaml)
77
[![Coverage Status](https://coveralls.io/repos/github/JS-DevTools/host-environment/badge.svg?branch=master)](https://coveralls.io/github/JS-DevTools/host-environment)
88

9-
[![npm](https://img.shields.io/npm/v/host-environment.svg)](https://www.npmjs.com/package/host-environment)
9+
[![npm](https://img.shields.io/npm/v/@jsdevtools/host-environment.svg)](https://www.npmjs.com/package/@jsdevtools/host-environment)
1010
[![Dependencies](https://david-dm.org/JS-DevTools/host-environment.svg)](https://david-dm.org/JS-DevTools/host-environment)
11-
[![License](https://img.shields.io/npm/l/host-environment.svg)](LICENSE)
11+
[![License](https://img.shields.io/npm/l/@jsdevtools/host-environment.svg)](LICENSE)
1212

1313
[![OS and Browser Compatibility](https://jstools.dev/img/badges/ci-badges-with-ie.svg)](https://github.com/JS-DevTools/host-environment/blob/master/.github/workflows/CI-CD.yaml)
1414

@@ -29,7 +29,7 @@ Example
2929
--------------------------
3030

3131
```javascript
32-
import host from "host-environment";
32+
import host from "@jsdevtools/host-environment";
3333

3434
if (host.browser) {
3535
// Browser logic here
@@ -66,7 +66,7 @@ Installation
6666
Install using [npm](https://docs.npmjs.com/about-npm/):
6767

6868
```bash
69-
npm install host-environment
69+
npm install @jsdevtools/host-environment
7070
```
7171

7272

@@ -82,7 +82,7 @@ const host = require("host-environment");
8282
When using a transpiler such as [Babel](https://babeljs.io/) or [TypeScript](https://www.typescriptlang.org/), or a bundler such as [Webpack](https://webpack.js.org/) or [Rollup](https://rollupjs.org/), you can use **ECMAScript modules** syntax instead:
8383

8484
```javascript
85-
import host from "host-environment";
85+
import host from "@jsdevtools/host-environment";
8686
```
8787

8888

@@ -213,7 +213,7 @@ To build the project locally on your computer:
213213

214214
License
215215
--------------------------
216-
host-environment is 100% free and open-source, under the [MIT license](LICENSE). Use it however you want.
216+
Host Environment is 100% free and open-source, under the [MIT license](LICENSE). Use it however you want.
217217

218218

219219

package-lock.json

Lines changed: 53 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "host-environment",
2+
"name": "@jsdevtools/host-environment",
33
"version": "1.2.0",
44
"description": "Easily detect what host environment your code is running in",
55
"keywords": [

0 commit comments

Comments
 (0)