-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "styleguide",
"version": "1.0.0",
"description": "Style guides for W3LabKr open-source projects.",
"main": "index.js",
"scripts": {
"clean:dir": "rm -rf node_modules",
"clean:cache": "npm cache clean --force",
"clean": "npm run clean:dir && npm run clean:cache",
"build": "npm run clean && npm install",
"prepare": "husky install",
"release": "standard-version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/w3labkr/styleguide.git"
},
"keywords": [],
"author": "W3LabKr",
"license": "ISC",
"bugs": {
"url": "https://github.com/w3labkr/styleguide/issues"
},
"homepage": "https://github.com/w3labkr/styleguide#readme",
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"browserslist": "^4.20.3",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"js-beautify": "^1.14.3",
"lint-staged": "^13.0.1",
"prettier": "^2.6.2",
"standard-version": "^9.5.0",
"stylelint": "^14.8.2",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-recommended": "^7.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-csstree-validator": "^2.0.0",
"stylelint-order": "^5.0.0",
"stylelint-prettier": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{htm, html}": [
"js-beautify --type 'html' --replace"
],
"*.{css, scss, less, postcss}": [
"stylelint --fix",
"prettier --write"
],
"*.{js, jsx}": [
"eslint --fix",
"prettier --write"
],
"*.php": [
"php ./vendor/bin/php-cs-fixer fix"
]
}
}