-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
143 lines (143 loc) · 3.67 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@bradp/pears",
"version": "0.2.0",
"description": "A starting point for a Hugo + TailwindCSS powered static site.",
"keywords": [
"hugo",
"tailwind",
"tailwindcss",
"postcss",
"purgecss",
"static-site",
"starter",
"boilerplate"
],
"homepage": "https://github.com/bradp/pears",
"bugs": "https://github.com/bradp/pears/issues",
"repository": {
"type": "git",
"url": "https://github.com/bradp/pears.git"
},
"license": "MIT",
"author": {
"name": "Brad Parbs",
"email": "[email protected]",
"url": "https://bradparbs.com"
},
"scripts": {
"build": "npm run build:hugo",
"build:hugo": "npm run clean && hugo --gc --environment development",
"build:hugo:prod": "npm run clean && hugo --gc --minify --environment production",
"clean": "rimraf public",
"format": "npx prettier --write .",
"format:check": "npx prettier --check .",
"postinstall": "npx husky install &&w npm run build:hugo",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "stylelint 'assets/css/*.css' --syntax css",
"lint:css:fix": "stylelint 'assets/css/*.css' --syntax css --fix",
"lint:fix": "npm run lint:css:fix && npm run lint:js:fix",
"lint:js": "eslint assets/js/*.js",
"lint:js:fix": "eslint assets/js/*.js --fix",
"start": "npm run build:hugo && hugo server --buildDrafts"
},
"lint-staged": {
"*.css": [
"stylelint"
],
"*.js": [
"eslint"
],
"*.{css,html,json,md,toml}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"twUnknownClassesPosition": "end",
"useTabs": true,
"overrides": [
{
"files": [
"*.html"
],
"options": {
"parser": "go-template"
}
}
]
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"extends": "eslint:recommended",
"rules": {}
},
"stylelint": {
"extends": "stylelint-config-standard",
"rules": {
"at-rule-no-unknown": null,
"at-rule-no-vendor-prefix": true,
"color-hex-length": "long",
"color-no-invalid-hex": true,
"comment-no-empty": true,
"declaration-no-important": true,
"font-family-name-quotes": "always-where-required",
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"function-url-quotes": "always",
"function-url-scheme-allowed-list": [
"data",
"/^http/"
],
"indentation": "tab",
"media-feature-name-no-vendor-prefix": true,
"no-invalid-double-slash-comments": true,
"no-extra-semicolons": true,
"property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"declaration-empty-line-before": null,
"declaration-colon-newline-after": null,
"value-list-comma-newline-after": null
},
"ignoreFiles": [
"public/",
"assets/css/build.css"
]
},
"dependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@fullhuman/postcss-purgecss": "^4.0.3",
"@tailwindcss/forms": "^0.2.1",
"@tailwindcss/typography": "^0.3.1",
"autoprefixer": "^10.1.0",
"cssnano": "^4.1.10",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-config-standard": "^16.0.2",
"husky": "^5.0.6",
"lint-staged": "^10.5.3",
"live-server": "^1.2.1",
"postcss": "^8.2.10",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.0.0",
"postcss-purgecss": "^2.0.3",
"prettier": "2.2.1",
"prettier-plugin-go-template": "^0.0.10",
"prettier-plugin-packagejson": "^2.2.8",
"prettier-plugin-tailwind": "^2.2.8",
"prettier-plugin-toml": "0.3.1",
"rimraf": "^3.0.2",
"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
"tailwindcss": "^2.0.2"
}
}