This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
66 lines (66 loc) · 2.46 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": "my-project",
"version": "1.0.0",
"description": "",
"scripts": {
"devserver": "browser-sync start --server --watch --port=\"8080\" --no-inject-changes",
"watch:sass": "sass scss/main.scss css/style.css --watch --no-source-map",
"start": "npm-run-all --parallel devserver watch:sass",
"validate:html": "html-validate ./*.html",
"prettier": "prettier --write .",
"semistandard:js": "semistandard --fix js/app.js",
"sort:scss": "postcss ./scss/ --replace --config package.json",
"lint:scss": "stylelint \"**/*.scss\" --config ./.stylelintrc.json --fix",
"lint:english": "write-good README.md docs/README.md",
"lint:markdown": "markdownlint-cli2-config \".markdownlint.jsonc\" \"**/*.md\" \"#node_modules\"",
"lint": "npm-run-all validate:html sort:scss lint:scss semistandard:js prettier lint:markdown",
"compile:sass": "sass scss/main.scss css/style.css --no-source-map",
"build:css": "postcss ./css/style.css -o ./css/style.min.css --use autoprefixer cssnano --no-map",
"build:appjs": "terser ./js/app.js --output ./js/app.min.js --compress --mangle",
"build:userpreferencejs": "terser ./js/user-preference.js --output ./js/user-preference.min.js --compress --mangle",
"purify:css": "purifycss ./css/style.min.css ./index.html ./js/app.js --min --out ./css/style.min.css --info",
"ready": "npm-run-all validate:html sort:scss lint:scss compile:sass build:css purify:css semistandard:js prettier build:appjs build:userpreferencejs lint:markdown"
},
"postcss": {
"syntax": "postcss-scss",
"map": false,
"plugins": {
"css-declaration-sorter": {
"order": "concentric-css"
}
}
},
"browserslist": [
"defaults"
],
"semistandard": {
"globals": [
"localStorage",
"matchMedia"
]
},
"author": "",
"license": "CC0-1.0",
"private": true,
"devDependencies": {
"autoprefixer": "^10.4.8",
"browser-sync": "^2.27.10",
"css-declaration-sorter": "^6.3.0",
"cssnano": "^5.1.13",
"html-validate": "^7.8.0",
"markdownlint-cli2": "^0.6.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"postcss-cli": "^10.0.0",
"postcss-scss": "^4.0.4",
"prettier": "^2.7.1",
"purify-css": "^1.2.5",
"sass": "^1.54.0",
"semistandard": "^16.0.1",
"stylelint": "^14.13.0",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^5.0.0",
"terser": "^5.15.0",
"write-good": "^1.0.8"
}
}