-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.71 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.71 KB
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
{
"name": "sapling",
"version": "1.0.0",
"description": "A lightweight starter theme with minimal styling",
"scripts": {
"sass": "sass assets/src/sass/main.scss:assets/dist/css/style.css && sass assets/src/sass/editor-theme-styles.scss:assets/dist/css/editor-theme-styles.css",
"sass-watch": "sass --watch assets/src/sass/main.scss:assets/dist/css/style.css assets/src/sass/editor-theme-styles.scss:assets/dist/css/editor-theme-styles.css",
"postcss": "postcss assets/dist/css/style.css --use autoprefixer -o assets/dist/css/style.css",
"build": "yarn sass && yarn postcss && yarn rollup",
"stylelint": "stylelint 'assets/src/sass/**/*.scss'",
"stylelint-watch": "onchange 'assets/src/sass/**/*.scss' -- yarn stylelint",
"rollup": "rollup -c",
"watch-js": "rollup -c -w",
"watch": "concurrently \"yarn sass-watch\" \"yarn stylelint-watch\" \"yarn serve\" \"yarn watch-js\"",
"serve": "browser-sync start --proxy wpstarter.local --files 'assets/dist/css/*.css'"
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"browser-sync": "^2.26.16",
"concurrently": "^7.0.0",
"onchange": "^7.1.0",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"rollup": "^2.60.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.45.0",
"stylelint": "^14.0.1",
"stylelint-config-sass-guidelines": "^10.0.0",
"stylelint-config-standard": "^24.0.0"
},
"stylelint": {
"extends": "stylelint-config-sass-guidelines",
"ignoreFiles": [
"assets/src/sass/0-lib/*.scss"
],
"rules": {
"rule-empty-line-before": null,
"max-nesting-depth": 3,
"selector-no-qualifying-type": null,
"scss/at-extend-no-missing-placeholder": null
}
}
}