mirror of
https://github.com/primer/css.git
synced 2024-11-22 19:01:02 +03:00
7eb38522d3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
111 lines
3.1 KiB
JSON
111 lines
3.1 KiB
JSON
{
|
|
"name": "@primer/css",
|
|
"version": "20.8.2",
|
|
"description": "The CSS implementation of GitHub's Primer Design System",
|
|
"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",
|
|
"build:css": "script/build-css.js",
|
|
"dist": "script/dist.js",
|
|
"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'",
|
|
"eslint": "eslint deprecations.js __tests__ script",
|
|
"prepublishOnly": "script/prepublish",
|
|
"start": "yarn dev",
|
|
"dev": "cd docs && yarn && yarn develop",
|
|
"pretest": "yarn dist && script/pretest",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules yarn jest",
|
|
"release": "changeset publish",
|
|
"storybook": "cd docs && yarn && yarn storybook"
|
|
},
|
|
"dependencies": {
|
|
"@primer/primitives": "^7.11.1",
|
|
"@primer/view-components": "^0.0.120"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "0.4.8",
|
|
"@changesets/cli": "2.26.0",
|
|
"@github/prettier-config": "0.0.4",
|
|
"@koddsson/postcss-sass": "5.0.1",
|
|
"@primer/stylelint-config": "^12.4.0",
|
|
"autoprefixer": "10.4.13",
|
|
"chokidar-cli": "3.0.0",
|
|
"cssstats": "4.0.5",
|
|
"eslint": "8.25.0",
|
|
"eslint-plugin-github": "4.6.0",
|
|
"eslint-plugin-jest": "27.1.6",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"filesize": "10.0.5",
|
|
"front-matter": "4.0.2",
|
|
"fs-extra": "11.1.0",
|
|
"globby": "13.1.3",
|
|
"jest": "29.3.1",
|
|
"js-yaml": "4.1.0",
|
|
"postcss": "8.4.18",
|
|
"postcss-calc": "8.2.4",
|
|
"postcss-import": "15.0.0",
|
|
"postcss-load-config": "4.0.1",
|
|
"postcss-scss": "4.0.5",
|
|
"postcss-simple-vars": "6.0.3",
|
|
"prettier": "2.7.1",
|
|
"semver": "7.3.8",
|
|
"stylelint": "14.15.0",
|
|
"table": "6.8.1"
|
|
},
|
|
"jest": {
|
|
"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"
|
|
],
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"plugin:github/internal",
|
|
"plugin:github/recommended"
|
|
],
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017,
|
|
"requireConfigFile": false
|
|
}
|
|
}
|
|
}
|