This repository was archived by the owner on Mar 17, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 2.66 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 2.66 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
44
45
46
47
48
49
50
51
{
"name": "small-theme",
"version": "1.0.0",
"description": "Booqable theme with comprehensive build system",
"private": true,
"scripts": {
"build:scss": "sass src/scss:assets --style=compressed --no-source-map",
"build:js": "node build-js.mjs && npm run copy:js:utils",
"copy:js:utils": "cpx 'src/js/utils/**/*' assets/utils",
"build:images": "for dir in src/images/*/; do imagemin \"$dir*\" --out-dir=\"assets/$(basename \"$dir\")\"; done",
"build:svg": "node src/svg/_utils/optimize-svg.js",
"build:liquid": "npm run copy:config && npm run copy:layout && npm run copy:sections && npm run copy:snippets && npm run copy:templates",
"copy:config": "cpx 'src/config/**/*' config",
"copy:layout": "cpx 'src/layout/**/*' layout",
"copy:sections": "cpx 'src/sections/**/*' sections",
"copy:snippets": "find src/snippets -name '*.liquid' -not -path '*/_*' -exec cp {} snippets/ \\;",
"copy:templates": "cpx 'src/templates/**/*' templates",
"build": "npm run build:scss && npm run build:js && npm run build:images && npm run build:svg && npm run build:liquid",
"watch:scss": "sass src/scss:assets --watch --style=compressed --no-source-map",
"watch:js": "node build-js.mjs --watch",
"watch:images": "cpx 'src/images/**/*' assets --watch",
"watch:svg": "npm run build:svg",
"watch:liquid": "npm run watch:config & npm run watch:layout & npm run watch:sections & npm run watch:snippets & npm run watch:templates",
"watch:config": "cpx 'src/config/**/*' config --watch",
"watch:layout": "cpx 'src/layout/**/*' layout --watch",
"watch:sections": "cpx 'src/sections/**/*' sections --watch",
"watch:snippets": "cpx 'src/snippets/**/*' snippets --watch",
"watch:templates": "cpx 'src/templates/**/*' templates --watch",
"watch": "npm run watch:scss & npm run watch:js & npm run watch:images & npm run watch:svg & npm run watch:liquid",
"dev": "npm run build && npm run watch",
"clean": "rm -rf assets/* config/* layout/* sections/* snippets/* templates/*",
"clean:selective": "npm run build:liquid && npm run build:js && npm run build:images && npm run build:scss",
"lint:scss": "stylelint 'src/scss/**/*.scss'",
"lint:js": "eslint 'src/js/**/*.js'",
"lint": "npm run lint:scss && npm run lint:js",
"lint:fix": "npm run lint:scss -- --fix && npm run lint:js -- --fix"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"cpx": "^1.5.0",
"embla-carousel": "^8.6.0",
"esbuild": "^0.27.2",
"eslint": "^9.28.0",
"imagemin-cli": "^7.0.0",
"sass": "^1.77.0",
"stylelint": "^16.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"svgo": "^3.0.2",
"terser": "^5.19.0"
}
}