-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.91 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
{
"name": "frippz.se",
"author": {
"name": "Fredrik Frodlund",
"email": "fredrik@frodlund.se",
"url": "https://frippz.se/"
},
"license": "MIT",
"version": "0.0.0",
"description": "The blog of Fredrik Frodlund",
"repository": {
"type": "git",
"url": "git@github.com:frippz/frippz.se.git"
},
"scripts": {
"dev": "nodemon",
"bundle:install": "bundle install",
"svg": "svg-sprite -C svg-sprite.config.json --dest ./images svg/*.svg",
"uglify:css": "foreach -g 'dist/css/*.css' -x 'uglifycss #{path} --output #{path}'",
"uglify:js": "foreach -g 'dist/js/*.js' -x 'uglifyjs #{path} --output #{path}'",
"hash:css": "hashmark -l 8 css/*.css './dist/css/{name}-{hash}.css'",
"posthash:css": "npm run uglify:css",
"hash:js": "hashmark -l 8 js/*.js './dist/js/{name}-{hash}.js'",
"posthash:js": "npm run uglify:js",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "stylelint --color -f verbose css/**/*.css",
"lint:js": "eslint js/**/*.js",
"lint:js:fix": "standard --fix js/**/*.js",
"predeploy": "rm -rf dist && mkdir -p dist/css dist/js",
"deploy": "npm run hash:css && npm run hash:js && npm run svg"
},
"dependencies": {
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"foreach-cli": "1.8.1",
"hashmark": "5.0.0",
"stylelint": "15.11.0",
"stylelint-color-format": "1.1.0",
"stylelint-config-recess-order": "4.6.0",
"svg-sprite": "2.0.4",
"uglify-es": "3.3.9",
"uglifycss": "0.0.29"
},
"devDependencies": {
"cypress": "13.17.0",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"nodemon": "^3.0.1",
"prettier": "3.4.2"
},
"lint-staged": {
"*.css": [
"stylelint --fix css/*.css",
"stylelint css/*.css"
],
"*": [
"prettier --write ."
]
},
"nodemonConfig": {
"watch": [
"_config.yml"
],
"exec": "docker-compose up"
}
}