2015-03-21 02:30:22 +03:00
|
|
|
{
|
2019-02-05 00:01:34 +03:00
|
|
|
"name": "@primer/css",
|
2022-08-11 21:47:36 +03:00
|
|
|
"version": "20.4.2",
|
2021-04-01 23:36:44 +03:00
|
|
|
"description": "The CSS implementation of GitHub's Primer Design System",
|
2019-03-06 08:40:34 +03:00
|
|
|
"homepage": "https://primer.style/css",
|
2019-02-05 00:01:34 +03:00
|
|
|
"author": "GitHub, Inc.",
|
2021-08-12 03:11:35 +03:00
|
|
|
"engines": {
|
|
|
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
|
|
},
|
2019-02-05 00:01:34 +03:00
|
|
|
"license": "MIT",
|
2019-02-05 02:57:37 +03:00
|
|
|
"style": "dist/primer.css",
|
2019-02-05 00:01:34 +03:00
|
|
|
"sass": "index.scss",
|
2021-08-12 00:10:47 +03:00
|
|
|
"type": "module",
|
2019-02-05 02:57:37 +03:00
|
|
|
"main": "dist/primer.js",
|
2019-02-05 00:01:34 +03:00
|
|
|
"repository": "https://github.com/primer/css",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/primer/css/issues"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"primer",
|
|
|
|
"css",
|
|
|
|
"github",
|
|
|
|
"design-system"
|
|
|
|
],
|
2015-09-08 18:53:46 +03:00
|
|
|
"scripts": {
|
2022-04-20 02:26:47 +03:00
|
|
|
"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\"",
|
2022-02-09 19:38:01 +03:00
|
|
|
"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",
|
2021-08-12 03:11:35 +03:00
|
|
|
"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
|
|
|
},
|
2019-08-07 23:56:46 +03:00
|
|
|
"dependencies": {
|
2022-07-22 06:06:11 +03:00
|
|
|
"@primer/primitives": "^7.9.0"
|
2019-08-07 23:56:46 +03:00
|
|
|
},
|
2019-02-05 00:01:14 +03:00
|
|
|
"devDependencies": {
|
2022-08-11 18:42:38 +03:00
|
|
|
"@changesets/changelog-github": "0.4.6",
|
2022-08-11 19:01:38 +03:00
|
|
|
"@changesets/cli": "2.24.2",
|
2021-04-12 19:42:42 +03:00
|
|
|
"@github/prettier-config": "0.0.4",
|
2022-02-01 22:21:51 +03:00
|
|
|
"@koddsson/postcss-sass": "5.0.1",
|
2022-04-29 20:33:00 +03:00
|
|
|
"@primer/stylelint-config": "^12.4.0",
|
2022-08-11 19:01:52 +03:00
|
|
|
"autoprefixer": "10.4.8",
|
2022-01-14 14:53:10 +03:00
|
|
|
"chokidar-cli": "3.0.0",
|
2022-04-20 19:46:29 +03:00
|
|
|
"cssstats": "4.0.5",
|
2022-08-11 18:43:27 +03:00
|
|
|
"eslint": "8.21.0",
|
2022-08-11 18:49:58 +03:00
|
|
|
"eslint-plugin-github": "4.3.7",
|
2022-08-11 19:01:17 +03:00
|
|
|
"eslint-plugin-jest": "26.8.2",
|
2022-07-20 15:30:01 +03:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-07-01 23:03:13 +03:00
|
|
|
"filesize": "9.0.11",
|
2021-04-12 19:42:42 +03:00
|
|
|
"front-matter": "4.0.2",
|
2022-05-19 20:52:30 +03:00
|
|
|
"fs-extra": "10.1.0",
|
2022-07-21 22:38:29 +03:00
|
|
|
"globby": "13.1.2",
|
2022-07-21 22:35:08 +03:00
|
|
|
"jest": "28.1.3",
|
2021-04-15 10:52:14 +03:00
|
|
|
"js-yaml": "4.1.0",
|
2022-08-11 19:13:05 +03:00
|
|
|
"postcss": "8.4.16",
|
2022-03-09 20:16:57 +03:00
|
|
|
"postcss-calc": "8.2.4",
|
2022-04-20 19:39:23 +03:00
|
|
|
"postcss-import": "14.1.0",
|
2022-06-02 14:07:49 +03:00
|
|
|
"postcss-load-config": "4.0.1",
|
2022-05-02 23:49:47 +03:00
|
|
|
"postcss-scss": "4.0.4",
|
2021-04-09 05:34:17 +03:00
|
|
|
"postcss-simple-vars": "6.0.3",
|
2022-07-21 05:50:45 +03:00
|
|
|
"prettier": "2.7.1",
|
2022-04-13 03:23:37 +03:00
|
|
|
"semver": "7.3.7",
|
2022-08-11 19:08:00 +03:00
|
|
|
"stylelint": "14.10.0",
|
2022-04-12 20:26:42 +03:00
|
|
|
"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/",
|
2021-08-12 03:11:35 +03:00
|
|
|
"/__tests__/utils/",
|
|
|
|
"/__tests__/docs.test.js"
|
|
|
|
],
|
|
|
|
"transform": {}
|
2021-04-06 06:33:48 +03:00
|
|
|
},
|
|
|
|
"browserslist": [
|
2021-04-13 02:07:03 +03:00
|
|
|
"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
|
2021-04-08 00:40:14 +03:00
|
|
|
}
|
2021-04-06 18:17:08 +03:00
|
|
|
}
|
2015-03-21 02:30:22 +03:00
|
|
|
}
|