1
1
mirror of https://github.com/primer/css.git synced 2024-11-23 03:10:10 +03:00
css/package.json

110 lines
3.0 KiB
JSON
Raw Normal View History

{
"name": "@primer/css",
"version": "20.4.2",
"description": "The CSS implementation of GitHub's Primer Design System",
2019-03-06 08:40:34 +03:00
"homepage": "https://primer.style/css",
"author": "GitHub, Inc.",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"license": "MIT",
"style": "dist/primer.css",
"sass": "index.scss",
"type": "module",
"main": "dist/primer.js",
"repository": "https://github.com/primer/css",
"bugs": {
"url": "https://github.com/primer/css/issues"
},
"keywords": [
"primer",
"css",
"github",
"design-system"
],
"scripts": {
"build:docs": "script/build-docs",
"build:docs:preview": "script/build-docs preview",
2022-08-13 01:17:56 +03:00
"build:css": "script/build-css.js",
2019-09-10 21:23:05 +03:00
"dist": "script/dist.js",
2022-08-13 01:17:56 +03:00
"dist:watch": "chokidar \"src/**/*.scss\" -c \"script/dist.js\"",
"stylelint": "stylelint --quiet --rd 'src/**/*.scss'",
"stylelint:fix": "yarn stylelint -- --fix",
"stylelint:remove-disables": "script/stylelint-remove-disables.js 'src/**/*.scss'",
"stylelint:add-disables": "script/stylelint-add-disables.js 'src/**/*.scss'",
2021-04-07 18:33:42 +03:00
"eslint": "eslint deprecations.js __tests__ script",
2021-03-26 00:16:57 +03:00
"prepublishOnly": "script/prepublish",
2021-04-12 06:39:17 +03:00
"start": "yarn dev",
"dev": "cd docs && yarn && yarn develop",
2021-04-01 08:40:51 +03:00
"pretest": "yarn dist && script/pretest",
"test": "NODE_OPTIONS=--experimental-vm-modules yarn jest",
2021-10-15 00:21:02 +03:00
"release": "changeset publish",
"storybook": "cd docs && yarn && yarn storybook"
2016-05-25 21:56:43 +03:00
},
"dependencies": {
"@primer/primitives": "^7.9.0"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.6",
"@changesets/cli": "2.24.2",
2021-04-12 19:42:42 +03:00
"@github/prettier-config": "0.0.4",
"@koddsson/postcss-sass": "5.0.1",
Release Tracking (#2039) * Adding pre.json * Delete pre.json * Marketing: Remove unused pullquote selector (#1767) * Remove unused pullquote style * Create good-fireants-collect.md * next_major protection * On push * Exit 1 * Update instructions * Underline nav focus state (#1821) * add pseudo selectors * adjustments * add stories, cleanup * update mixin * fix mixin * lint * add back overflow styles * adjust focus for better overflow state, scrollsnap * post test adjustments, move hacks to primer css * Stylelint auto-fixes * hover state desktop only * document data-content hack * Create nice-days-jog.md * Use counter-border for LHC (#1792) * Use counter-border for LHC * Create orange-ties-sin.md * Remove fallback * Update nice-days-jog.md Co-authored-by: langermank <langermank@github.com> Co-authored-by: Actions Auto Build <actions@github.com> Co-authored-by: simurai <simurai@github.com> * Global focus styles (#1744) * setup base focus styles * add feature stories * add stories for focusable things, delete outline:0 * switch back to box-shadow * support class * stylelint * fix theme viewer * switch back to outline, address feedback * lint * temp stashing stories here * Create giant-bees-talk.md * I think we got it! * address input directly * checkbox/radio outline offset * lint * change actionlist to just use focus * merge * Update giant-bees-talk.md * address marketing styles * tabnav focus fix * reach all buttons * attempt windows hc selector * Stylelint auto-fixes * fixes * add focus style testing page * Stylelint auto-fixes * add href for testing * remove position relative to fix chrome bug * fix details scenario * add offset to WHC * maintain offset specificity in whc * inset tabnav focus * switch offset to inset * fix actionlist focus * lint * better scoping, handle forms for safari * moving specific styles from dotcom * address autocomplete * cleanup * cleanup * selected focus states * adjust marketing focus * use offset instead for marketing * Stylelint auto-fixes * fix merge Co-authored-by: Jon Rohan <yes@jonrohan.codes> Co-authored-by: Actions Auto Build <actions@github.com> * Upgrading to stylelint-config-12.4.0 (#2041) * Upgrading to stylelint-config-12.4.0 * Create tame-clouds-shop.md * Global focus style CSS from feature flag (#2046) * extra CSS found from cleaning up feat flag * lint * Create young-trainers-yell.md * fix mixin Co-authored-by: Jon Rohan <yes@jonrohan.codes> * UnderlineNav bug fix (#2047) * fix selector (bad merge?) * Create ninety-bobcats-do.md * lint * Comment box upload focus border-radius (#2049) * missing border-radius * Create beige-horses-fetch.md * lint * you would think I would know these by now * Fix headings with an anchor in a summary (#2048) * Fix headings with an anchor in a summary * Create hip-readers-press.md * Lint * Version Packages Co-authored-by: Jon Rohan <yes@jonrohan.codes> Co-authored-by: Tobias Ahlin <hello@tobiasahlin.com> Co-authored-by: langermank <langermank@github.com> Co-authored-by: Actions Auto Build <actions@github.com> Co-authored-by: simurai <simurai@github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-29 20:33:00 +03:00
"@primer/stylelint-config": "^12.4.0",
"autoprefixer": "10.4.8",
"chokidar-cli": "3.0.0",
"cssstats": "4.0.5",
"eslint": "8.21.0",
"eslint-plugin-github": "4.3.7",
"eslint-plugin-jest": "26.8.2",
"eslint-plugin-prettier": "4.2.1",
"filesize": "9.0.11",
2021-04-12 19:42:42 +03:00
"front-matter": "4.0.2",
"fs-extra": "10.1.0",
"globby": "13.1.2",
"jest": "28.1.3",
"js-yaml": "4.1.0",
"postcss": "8.4.16",
"postcss-calc": "8.2.4",
"postcss-import": "14.1.0",
"postcss-load-config": "4.0.1",
"postcss-scss": "4.0.4",
2021-04-09 05:34:17 +03:00
"postcss-simple-vars": "6.0.3",
"prettier": "2.7.1",
"semver": "7.3.7",
"stylelint": "14.10.0",
"table": "6.8.0"
2021-03-30 08:10:34 +03:00
},
"jest": {
2021-03-31 02:53:47 +03:00
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/__tests__/utils/",
"/__tests__/docs.test.js"
],
"transform": {}
},
"browserslist": [
"last 10 Chrome versions",
"last 4 Firefox versions",
"last 3 Safari versions",
"not Safari 12",
"last 4 Edge versions",
"not Edge <= 18",
"Firefox ESR"
2021-04-06 06:35:12 +03:00
],
"eslintConfig": {
2021-04-07 18:33:42 +03:00
"extends": [
"plugin:github/internal",
"plugin:github/recommended"
],
2021-04-06 06:35:12 +03:00
"env": {
2021-04-07 18:33:42 +03:00
"es6": true,
"node": true
2021-04-06 06:35:12 +03:00
},
"parserOptions": {
2021-04-07 18:33:42 +03:00
"ecmaVersion": 2017,
"requireConfigFile": false
}
}
}