77 lines
1.7 KiB
JSON
77 lines
1.7 KiB
JSON
|
{
|
||
|
"name": "postcss-sorting",
|
||
|
"version": "5.0.1",
|
||
|
"description": "PostCSS plugin to keep rules and at-rules content in order.",
|
||
|
"keywords": [
|
||
|
"postcss",
|
||
|
"css",
|
||
|
"postcss-plugin",
|
||
|
"sorting",
|
||
|
"order"
|
||
|
],
|
||
|
"author": "Aleks Hudochenkov <aleks@hudochenkov.com>",
|
||
|
"license": "MIT",
|
||
|
"repository": "hudochenkov/postcss-sorting",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/hudochenkov/postcss-sorting/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/hudochenkov/postcss-sorting",
|
||
|
"files": [
|
||
|
"lib",
|
||
|
"!lib/**/__tests__",
|
||
|
"index.js",
|
||
|
"!.DS_Store"
|
||
|
],
|
||
|
"engines": {
|
||
|
"node": ">=8.7.0"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"lodash": "^4.17.14",
|
||
|
"postcss": "^7.0.17"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"eslint": "^6.0.1",
|
||
|
"eslint-config-hudochenkov": "^3.0.1",
|
||
|
"eslint-config-prettier": "^6.0.0",
|
||
|
"husky": "^3.0.0",
|
||
|
"jest": "^24.8.0",
|
||
|
"jest-watch-typeahead": "^0.3.1",
|
||
|
"lint-staged": "^9.2.0",
|
||
|
"postcss-html": "^0.36.0",
|
||
|
"postcss-jsx": "^0.36.1",
|
||
|
"postcss-syntax": "^0.36.2",
|
||
|
"prettier": "^1.18.2"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "npm run lint && jest",
|
||
|
"jest": "jest",
|
||
|
"watch": "jest --watch",
|
||
|
"coverage": "jest --coverage",
|
||
|
"fix": "npm run lint -- --fix && prettier --write *.js 'lib/**/*.js'",
|
||
|
"lint": "eslint *.js 'lib/**/*.js'"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.js": [
|
||
|
"eslint --fix",
|
||
|
"prettier --write",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"jest": {
|
||
|
"setupFiles": [
|
||
|
"./jest-setup.js"
|
||
|
],
|
||
|
"testEnvironment": "node",
|
||
|
"testRegex": "__tests__/[a-zA-Z-]+\\.js$",
|
||
|
"watchPlugins": [
|
||
|
"jest-watch-typeahead/filename",
|
||
|
"jest-watch-typeahead/testname"
|
||
|
]
|
||
|
},
|
||
|
"husky": {
|
||
|
"hooks": {
|
||
|
"pre-commit": "lint-staged"
|
||
|
}
|
||
|
}
|
||
|
}
|