forked from mate-academy/layout_product-cards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.59 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
{
"name": "product-cards",
"version": "1.0.0",
"description": "Frontend practice with product cards",
"main": "src/main.js",
"scripts": {
"css:test": "rimraf ./backstop_data/bitmaps_test && backstop test --config=config/backstop/backstopConfig",
"css:reference": "rimraf ./backstop_data/bitmaps_reference && backstop reference --config=config/backstop/backstopConfig",
"deploy": "bash ./config/hooks/deploy.sh",
"lint": "stylelint src/**/*.css && eslint src/**/*.js && htmllint --rc ./node_modules/@mate-academy/htmllint-config/.htmllintrc src/*.html",
"start": "http-server ./src -p 8080 -c-1"
},
"keywords": [],
"author": "Mate Academy",
"license": "GPL-3.0",
"devDependencies": {
"@mate-academy/eslint-config": "*",
"@mate-academy/htmllint-config": "*",
"@mate-academy/stylelint-config": "*",
"backstopjs": "^4.0.3",
"eslint": "^5.16.0",
"eslint-plugin-node": "^8.0.1",
"htmllint": "^0.7.3",
"htmllint-cli": "0.0.7",
"http-server": "^0.11.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"rimraf": "^2.6.3",
"stylelint": "^10.0.0"
},
"lint-staged": {
"linters": {
"*.css": [
"stylelint",
"git add"
],
"*.js": [
"eslint",
"git add"
],
"*.html": [
"htmllint --rc ./node_modules/@mate-academy/htmllint-config/.htmllintrc",
"git add"
]
},
"ignore": [
"**/backstop_data/**",
"**/report/**"
]
},
"husky": {
"hooks": {
"post-commit": "git update-index --again",
"pre-commit": "lint-staged"
}
}
}