jest-preset-stylelint
Version:
Jest preset for Stylelint plugins.
93 lines (92 loc) • 2.26 kB
JSON
{
"name": "jest-preset-stylelint",
"version": "9.2.0",
"description": "Jest preset for Stylelint plugins.",
"keywords": [
"stylelint",
"jest",
"jest-preset",
"preset"
],
"repository": "stylelint/jest-preset-stylelint",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/stylelint"
},
{
"type": "github",
"url": "https://github.com/sponsors/stylelint"
}
],
"license": "MIT",
"author": "stylelint",
"main": "index.js",
"types": "index.d.ts",
"files": [
"getTestRuleConfigs.js",
"getTestRule.js",
"jest-preset.js",
"jest-setup.js",
"jest-setup-after-env.js",
"index.d.ts"
],
"scripts": {
"format": "prettier . --write",
"lint": "npm-run-all --parallel lint:*",
"lint:formatting": "prettier . --check",
"lint:js": "eslint .",
"lint:md": "remark . --quiet --frail",
"lint:types": "tsc",
"prepare": "git config set --local core.hooksPath .githooks || true",
"pretest": "npm run lint",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"watch": "npm --ignore-scripts test -- --watch"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,json,md,yml}": "prettier --write"
},
"prettier": "@stylelint/prettier-config",
"remarkConfig": {
"plugins": [
"@stylelint/remark-preset"
]
},
"jest": {
"preset": "./jest-preset.js",
"runner": "jest-light-runner",
"testRegex": ".*\\.test\\.m?js$"
},
"devDependencies": {
"@stylelint/prettier-config": "^4.0.0",
"@stylelint/remark-preset": "^5.1.1",
"@types/jest": "^30.0.0",
"eslint": "^10.2.1",
"eslint-config-stylelint": "^27.0.0",
"eslint-plugin-jest": "^29.15.2",
"jest": "^30.3.0",
"jest-light-runner": "^0.7.11",
"lint-staged": "^16.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.3",
"remark-cli": "^12.0.1",
"stylelint": "^17.9.0",
"typescript": "^6.0.3"
},
"peerDependencies": {
"jest": "^30.3.0",
"stylelint": "^17.0.0"
},
"peerDependenciesMeta": {
"jest": {
"optional": true
},
"stylelint": {
"optional": true
}
},
"engines": {
"node": ">=20.19.0"
}
}