-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.24 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
{
"name": "watch-with-me",
"repository": {
"type": "git",
"url": "git@github.com:LesGars/WatchWithMe.git"
},
"private": true,
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@types/color-name": "1.1.1",
"@types/json-schema": "7.0.9",
"@types/minimist": "1.2.2",
"@types/normalize-package-data": "2.4.1",
"@types/parse-json": "4.0.0",
"@types/unist": "2.0.6",
"@typescript-eslint/parser": "3.10.1",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"prettier": "2.4.1",
"stylelint": "13.13.1"
},
"scripts": {
"format": "prettier --write \"{,**/}*.{java,md,json,ts,css,scss,yml}\"",
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('pnpm') === -1) { console.log('\u001b[31mPlease use pnpm for installing\u001b[0m'); process.exit(1); }\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{java,js,ts,md,json,scss}": [
"prettier --write"
],
"*.scss": "stylelint --syntax=scss"
}
}