-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
46 lines (46 loc) · 1.16 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
{
"name": "coronavirus-spread-simulator",
"version": "1.0.1",
"private": true,
"description": "Simulator about how Coronavirus spreads with free movement of people and confinement",
"main": "",
"scripts": {
"build": "npm run create:public && npm run minify:files && npm run copy:assets",
"create:public": "mkdir -p public",
"minify:files": "cd src && for f in ./*; do minify $f > ../public/$f; done;",
"copy:assets": "cp -r ./assets/ ./public/assets",
"lint": "eslint src",
"dev": "servor src index.html 1234 --browser --reload",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Miguel Ángel Durán García - https://midu.dev",
"license": "ISC",
"devDependencies": {
"husky": "4.2.3",
"minify": "5.1.0",
"servor": "3.2.0",
"standard": "14.3.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run lint"
}
},
"eslintConfig": {
"extends": "eslint-config-standard",
"rules": {
"indent": [
"error",
2
],
"max-len": [
"error",
{
"code": 100
}
]
}
}
}