@primer/octicons
Advanced tools
Comparing version 0.0.0-ab64ec9 to 0.0.0-ab91ef2
@@ -63,3 +63,3 @@ const data = require('./build/data.json') | ||
// Function to return an SVG object | ||
data[key].toSVG = function(options = {}) { | ||
data[key].toSVG = function (options = {}) { | ||
const {height, width} = options | ||
@@ -66,0 +66,0 @@ const naturalHeight = closestNaturalHeight(Object.keys(data[key].heights), height || width || DEFAULT_HEIGHT) |
{ | ||
"name": "@primer/octicons", | ||
"version": "0.0.0-ab64ec9", | ||
"version": "0.0.0-ab91ef2", | ||
"description": "A scalable set of icons handcrafted with <3 by GitHub.", | ||
"homepage": "https://octicons.github.com", | ||
"homepage": "https://primer.style/octicons", | ||
"author": "GitHub Inc.", | ||
@@ -20,3 +20,3 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "script/build.js", | ||
"build": "\\cp -r ../build/ ./build && \\cp index.scss ./build/build.css", | ||
"lint": "eslint index.js tests/*.js", | ||
@@ -35,6 +35,24 @@ "test": "ava --verbose 'tests/*.js'" | ||
"devDependencies": { | ||
"@github/prettier-config": "0.0.4", | ||
"ava": "^0.22.0", | ||
"eslint": "^6.5.1", | ||
"eslint-plugin-github": "^3.1.3" | ||
"eslint-plugin-github": "4.1.3" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"plugin:github/internal", | ||
"plugin:github/recommended" | ||
], | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2017, | ||
"requireConfigFile": false | ||
}, | ||
"rules": { | ||
"github/no-then": 0 | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1021623
934
1870
4