open-index/open-npm huggingface dataset:
npm package: @hpe/angular-toolkit
Description: Hewlett-Packard Enterprise : Angular toolkit for rapid project development
Latest version: 1.0.2

# Angular Toolkit
Toolkit library for Angular applications containing components and services in order 
to provide a common architecture and look'n'feel to delivery projects. 
The goal is to group commonly used code in order to reduce the development effort of new
projects and to ease the move of developers from one project to another.
npm package: @hpe/project-scripts
Description: HPE JS project scripts
Latest version: 1.1.2

# HPE JS Project Scripts

Commonly used scripts and utilities to bootstrap your project. This package currently supports eslint and prettier. Jest, react-testing-library and husky support is on the immediate roadmap.

### To setup eslint

Before installing dependencies check your project's `package.json` for existing `eslint` dependencies, remove any dependencies or dev-dependencies containing `eslint` as well as any existing `.eslintrc` files.

1. In your projects root folder run `npm install -D @hpe/project-scripts` or `yarn add -D @hpe/project-scripts`
1. create a `.eslintrc.js` in your project's root folder
1. Add the following snippet to your eslintrc file

```javascript
const scripts = require('@hpe/project-scripts');
module.exports = scripts.eslint;
```

Note: If you're running create react app you may see an error when airbnb config tries to load. As humans have not totally mastered package management, the following solution will fix it - `rm -rf node_modules && rm yarn.lock && yarn` 🙃

3. Create a `.eslintignore` file. This file will vary depending on your project structure, here is a good starting point

```
node_modules/
coverage/
dist/
build/
prod/
out/
.next/
.cache/
public/
yarn.lock
package-lock.json
```

### To setup prettier

Prettier requires some setup on your IDE's end. The following instructions are for VS Code users. Similarly to our eslint setup, you'll need to remove any Prettier dependencies in your project's `package.json` prior to installing this to avoid dependency conflicts.

1. Install the [Prettier extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) from the marketplace.

2. In your VS Code settings (Preferences -> Settings) click the curly brackets icon in the top right to enable the plain text settings view and add the following:

```
// Set the default
"editor.formatOnSave": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Enable per-language
"[javascript]": {
    "editor.formatOnSave": true
}
```

3. Create a `.prettierrc.js` in your project's root folder.

4. Add the following to your prettierrc:

```
const scripts = require('@hpe/project-scripts');
module.exports = scripts.prettier;
```

5. Create a `.prettierignore` in your root folder.

6. Similarly to your eslint's ignore file, the contents of this file will depend on your project's structure. Here's a good starting point:

```
package-lock.json
yarn.lock
.cache
public/
node_modules/
build/
dist/
```
npm package: @hpf2e/sentinel-browser
Description: A SDK For sentineling Browser Errors
Author: sultan
Latest version: 2.2.4

# @hpf2e/sentinel-browser

- [x] 🔨监听请求错误
- [x] 🔨console
- [x] 🔨路由跳转
- [x] 🔨代码报错
- [x] 🔨click
- [x] 🔨资源加载错误
- [x] 🌝支持IE8和安卓5以上
npm package: @hpf2e/sentinel-core
Description: @hpf2e/sentinel-core
Author: sultan
Latest version: 2.2.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @hpf2e/sentinel-core

给`@hpf2e/sentinel`提供一系列的核心类与函数

### Breadcrumb
收集用户行为

### errorId
生成错误id的规则

### subscribe
发布订阅策略

### options
配置项与钩子函数的绑定


### external
手动上报错误

### transform
公共的格式转换函数

### transport
日志上报类
npm package: @hpf2e/sentinel-react
Description: A SDK For Report React ErrorBoundary
Author: sultan
Latest version: 2.2.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @hpf2e/sentinel-react
## errorBoundaryReport

向外暴露出`errorBoundaryReport`全局函数，[具体用法](https://github.com/clouDr-f2e/sentineljs/blob/master/docs/guide.md#NPM%E5%8C%85%E5%BD%A2%E5%BC%8F)