2015-03-21 02:30:22 +03:00
|
|
|
{
|
2019-02-05 00:01:34 +03:00
|
|
|
"name": "@primer/css",
|
2024-11-08 20:55:11 +03:00
|
|
|
"version": "21.5.1",
|
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": {
|
2023-07-14 02:59:28 +03:00
|
|
|
"node": ">=16.0.0"
|
2021-08-12 03:11:35 +03:00
|
|
|
},
|
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'",
|
2023-07-14 02:40:26 +03:00
|
|
|
"stylelint:fix": "npm run stylelint -- --fix",
|
2022-02-09 19:38:01 +03:00
|
|
|
"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",
|
2023-07-14 02:40:26 +03:00
|
|
|
"pretest": "npm run dist && script/pretest",
|
|
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
|
2021-10-15 00:21:02 +03:00
|
|
|
"release": "changeset publish",
|
2023-07-14 02:40:26 +03:00
|
|
|
"storybook": "cd docs && npm i && npx storybook build",
|
|
|
|
"build:storybook": "cd docs && npm i && npm run build:storybook"
|
2016-05-25 21:56:43 +03:00
|
|
|
},
|
2024-10-19 00:02:55 +03:00
|
|
|
"dependencies": {},
|
2019-02-05 00:01:14 +03:00
|
|
|
"devDependencies": {
|
2024-03-07 17:57:33 +03:00
|
|
|
"@changesets/changelog-github": "^0.5.0",
|
|
|
|
"@changesets/cli": "^2.27.1",
|
|
|
|
"@csstools/postcss-sass": "^5.1.1",
|
2023-07-14 02:59:28 +03:00
|
|
|
"@github/prettier-config": "^0.0.6",
|
2024-06-03 22:57:42 +03:00
|
|
|
"@primer/stylelint-config": "^13.0.0-rc.af5663d",
|
2024-11-06 22:33:43 +03:00
|
|
|
"@primer/view-components": "^0.35.0",
|
2024-03-07 17:57:33 +03:00
|
|
|
"autoprefixer": "^10.4.18",
|
2023-07-14 02:59:28 +03:00
|
|
|
"chokidar-cli": "^3.0.0",
|
|
|
|
"cssstats": "^4.0.5",
|
2024-06-12 00:31:53 +03:00
|
|
|
"eslint": "^9.4.0",
|
|
|
|
"eslint-plugin-github": "^5.0.1",
|
2024-05-06 19:28:39 +03:00
|
|
|
"eslint-plugin-jest": "^28.3.0",
|
2024-03-07 17:57:33 +03:00
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
2023-07-14 02:59:28 +03:00
|
|
|
"filesize": "^10.0.5",
|
|
|
|
"front-matter": "^4.0.2",
|
|
|
|
"fs-extra": "^11.1.0",
|
2024-03-07 17:57:33 +03:00
|
|
|
"globby": "^14.0.1",
|
2023-07-14 02:59:28 +03:00
|
|
|
"jest": "^29.5.0",
|
|
|
|
"js-yaml": "^4.1.0",
|
2024-03-07 17:57:33 +03:00
|
|
|
"postcss": "^8.4.35",
|
2024-05-06 19:31:55 +03:00
|
|
|
"postcss-calc": "^10.0.0",
|
2024-03-07 17:57:33 +03:00
|
|
|
"postcss-import": "^16.0.1",
|
2024-06-12 00:31:53 +03:00
|
|
|
"postcss-load-config": "^6.0.1",
|
2023-07-14 02:59:28 +03:00
|
|
|
"postcss-scss": "^4.0.5",
|
|
|
|
"postcss-simple-vars": "^7.0.1",
|
2024-03-07 17:57:33 +03:00
|
|
|
"prettier": "^3.2.5",
|
|
|
|
"semver": "^7.6.0",
|
2024-09-18 00:28:06 +03:00
|
|
|
"stylelint": "^16.9.0",
|
2023-07-14 02:59:28 +03:00
|
|
|
"table": "^6.8.1"
|
2021-03-30 08:10:34 +03:00
|
|
|
},
|
2024-10-18 23:59:23 +03:00
|
|
|
"peerDependencies": {
|
2024-10-30 10:43:34 +03:00
|
|
|
"@primer/primitives": "9.x || 10.x"
|
2024-10-18 23:59:23 +03:00
|
|
|
},
|
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
|
|
|
}
|