-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.11 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
{
"name": "beliarh.net",
"version": "1.0.0",
"private": true,
"author": "Dmitry Artemov <[email protected]> (https://beliarh.net/)",
"license": "ISC",
"homepage": "https://beliarh.net/",
"repository": {
"type": "git",
"url": "git+https://github.com/beliarh/beliarh.net.git"
},
"bugs": {
"url": "https://github.com/beliarh/beliarh.net/issues"
},
"scripts": {
"start": "parcel src/*.html",
"prebuild": "rimraf public_html",
"build": "parcel build src/*.html --out-dir public_html",
"lint:js": "eslint \"src/**/*.js\"",
"lint:css": "stylelint \"src/**/*.css\"",
"lint": "npm run lint:js && npm run lint:css",
"format": "prettier --write \"**/*.{html,css,js,json}\""
},
"browserslist": [
"last 2 versions",
"> 1%"
],
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-prettier/recommended"
]
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{html,css,js,json}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
],
"*.css": [
"stylelint --fix",
"git add"
]
},
"staticFiles": {
"staticPath": "static",
"watcherGlob": "**"
},
"devDependencies": {
"autoprefixer": "^9.7.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"parcel": "1.12.3",
"parcel-plugin-ogimage": "^1.1.0",
"parcel-plugin-static-files-copy": "^2.2.1",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"stylelint": "^11.1.1",
"stylelint-config-prettier": "^6.0.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-prettier": "^1.1.1"
}
}