-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.92 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
94
95
96
{
"name": "codeinthedark-valdivia-site",
"version": "0.1.0",
"description": "Official web of Code in The Dark Valdivia",
"author": "Raul Hernandez <[email protected]>",
"license": "MIT",
"scripts": {
"start": "run-p serve watch:*",
"prestart": "run-s clean build:images:dev build:css build:js",
"clean": "rimraf dist/{css/*,js/*,images/*}",
"postcss": "postcss src/css/styles.css -o dist/css/styles.css",
"format": "prettier-standard 'src/js/**/*.js'",
"lint": "eslint src/js/**/*.js --fix",
"uglify": "mkdirp dist/js -p && uglifyjs src/js/*.js -m -c -o dist/js/scripts.js",
"imagemin": "gulp",
"serve": "browser-sync start --server --files \"dist/css/*.css, dist/js/*.js, **/*.html, !node_modules/**/*.html\"",
"build:css": "run-s postcss",
"build:js": "run-s uglify",
"build:images:dev": "cpy --cwd=src/images --parents '**/*' '../../dist/images'",
"build:images": "run-s imagemin",
"build:workbox": "workbox generateSW workbox-config.js",
"watch:css": "onchange \"src/css\" -- run-s postcss",
"watch:js": "onchange \"src/js\" -- run-s build:js",
"watch:images": "onchange \"src/images\" -- run-s build:images:dev",
"serve:pwa": "http-server-pwa . -p 3000 -s --ssl",
"lighthouse": "lighthouse-ci https://localhost:3000 --config-path=lighthouse.json",
"build": "cross-env NODE_ENV=production run-s clean build:*"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"autoprefixer": "^9.7.4",
"browser-sync": "^2.26.7",
"cpy-cli": "^3.1.0",
"cross-env": "^7.0.2",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"gulp": "^4.0.2",
"gulp-imagemin": "^7.1.0",
"http-server-pwa": "^1.0.1",
"husky": "^4.2.3",
"lighthouse-ci": "^1.10.0",
"lint-staged": "10.0.8",
"mkdirp": "^1.0.3",
"npm-run-all": "^4.1.5",
"onchange": "^6.1.0",
"postcss-cli": "^7.1.0",
"postcss-uncss": "^0.17.0",
"prettier-standard": "^16.2.1",
"rimraf": "^3.0.2",
"uglify-es": "^3.3.10",
"uncss": "^0.17.3",
"workbox-cli": "^5.0.0"
},
"dependencies": {
"scrollreveal": "^4.0.6",
"tailwindcss": "^1.2.0"
},
"eslintConfig": {
"root": true,
"extends": [
"standard"
]
},
"prettier": {
"bracketSpacing": true,
"singleQuote": true,
"trailingComma": "none",
"commaDangle": "none",
"semi": false,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.js": [
"npm run lint",
"npm run format",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}