-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.23 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
{
"name": "esercitazione1",
"version": "1.0.0",
"main": "index.html",
"devDependencies": {
"autoprefixer": "^6.5.1",
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.0",
"eslint": "^4.6.1",
"eslint-config-prettier": "^2.6.0",
"grunt": "^1.0.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-postcss": "^0.9.0",
"grunt-sass": "^2.0.0",
"husky": "^0.14.3",
"lint-staged": "^4.2.3",
"load-grunt-tasks": "^3.5.2",
"prettier": "1.7.4",
"serve": "^6.0.6",
"stylelint": "^8.0.0",
"stylelint-config-recommended": "^1.0.0"
},
"scripts": {
"build": "babel src -d build && yarn prettier-all",
"watch": "babel src -d build --watch",
"start": "serve . -p 3000 -o",
"prettier-all": "prettier --write '**/*.{js,json,css}'",
"precommit": "lint-staged"
},
"stylelint": {
"extends": "stylelint-config-recommended",
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"extends",
"include",
"mixin"
]
}
]
}
},
"lint-staged": {
"*.{js,json,css}": [
"prettier --write",
"git add"
]
}
}