All Projects → microsoft → sarif-web-component

microsoft / sarif-web-component

Licence: MIT License
A React-based component for viewing SARIF files.

Programming Languages

typescript
32286 projects
HTML
75241 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to sarif-web-component

book-fullstack-react
Fullstack React: The Complete Guide to ReactJS and Friends by Anthony Accomazzo
Stars: ✭ 100 (+156.41%)
Mutual labels:  react-components
template-react-native-typescript
Minimal template with best practices and automation scripts for improved developer experience.
Stars: ✭ 19 (-51.28%)
Mutual labels:  react-components
react-components
React components library.
Stars: ✭ 27 (-30.77%)
Mutual labels:  react-components
label-studio-frontend
Data labeling react app that is backend agnostic and can be embedded into your applications — distributed as an NPM package
Stars: ✭ 230 (+489.74%)
Mutual labels:  react-components
react-theme
Production ready Wordpress theme built with React, Redux, Redux-Thunk, Intl, React Router v4, etc... and packaged by Webpack 2. Enjoy!
Stars: ✭ 14 (-64.1%)
Mutual labels:  react-components
furl
Functional react.js components.
Stars: ✭ 33 (-15.38%)
Mutual labels:  react-components
tic-tac-toe-game-using-bit
Simple Tic Tac Toe game built with react-typescript components
Stars: ✭ 19 (-51.28%)
Mutual labels:  react-components
smores-react
🍭 Marshmallow React components
Stars: ✭ 34 (-12.82%)
Mutual labels:  react-components
Mosque-Screen
Chat: https://discord.gg/CG7frj2 - Email: [email protected]. We do not provide any support, this is a volunteer-based project therefore we cannot commit to any time to resolve local issues.
Stars: ✭ 54 (+38.46%)
Mutual labels:  react-components
material-react-components
React components implementing the Material Design specification
Stars: ✭ 21 (-46.15%)
Mutual labels:  react-components
terra-framework
Terra framework houses composed and higher order react components to help developers quickly build out new applications.
Stars: ✭ 60 (+53.85%)
Mutual labels:  react-components
react-gridsheet
React component like SpreadSheet
Stars: ✭ 121 (+210.26%)
Mutual labels:  react-components
vscode-react-javascript-snippets
Extension for React/Javascript snippets with search supporting ES7+ and babel features
Stars: ✭ 782 (+1905.13%)
Mutual labels:  react-components
gypcrete
iCHEF web components library, built with React.
Stars: ✭ 28 (-28.21%)
Mutual labels:  react-components
Fable.SemanticUI
React.SeamanticUI to Fable bindings
Stars: ✭ 15 (-61.54%)
Mutual labels:  react-components
react-component-lib
Boilerplate repo for creating npm packages with React components written in TypeScript and using styled-components
Stars: ✭ 69 (+76.92%)
Mutual labels:  react-components
dashkit-ui
UI Components built on React.
Stars: ✭ 17 (-56.41%)
Mutual labels:  react-components
react-bmapgl
基于百度地图JavaScript GL版API封装的React组件库
Stars: ✭ 68 (+74.36%)
Mutual labels:  react-components
react-carousel-3d
3D carousal component in react
Stars: ✭ 129 (+230.77%)
Mutual labels:  react-components
alfa
♿ Suite of open and standards-based tools for performing reliable accessibility conformance testing at scale
Stars: ✭ 75 (+92.31%)
Mutual labels:  sarif

npm version

SARIF Web Component

A React-based component for viewing SARIF files. Try it out.

Usage

npm install @microsoft/sarif-web-component
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import {Viewer} from '@microsoft/sarif-web-component'

ReactDOM.render(<Viewer logs={arrayOfLogs} />, document.body.firstChild)

In the HTML page hosting this component, <meta http-equiv="content-type" content="text/html; charset=utf-8"> is required to avoid text rendering issues.

Publishing

Update the package version. Run workflow Publish. Make sure Repository secret NODE_AUTH_TOKEN exists.

Publishing (Manual)

In your local clone of this repo, do the following. Double-check package.json name in case it was modified for development purposes.

git pull
npm install
npx webpack --config ./webpack.config.npm.js
npm login
npm publish

For a scoped non-paid accounts (such as for personal testing), publish would require: npm publish --access public. For a dry-run publish: npm publish --dry-run. Careful: the typo --dryrun results in a real publish.

Publishing (Local/Private)

As needed, run git pull and npm install. Then...

npx webpack --config ./webpack.config.npm.js
npm pack

Our convention is to move/keep the tarballs in the packages directory.

Bundle Size Analysis

In webpack.config.common.js temporarily disable stats: 'minimal'.

npx webpack --profile --json > stats.json
npx webpack-bundle-analyzer stats.json
rm stats.json

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].