-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 903 Bytes
/
package.json
File metadata and controls
30 lines (30 loc) · 903 Bytes
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
{
"name": "siteorigin-snapshot",
"version": "1.0.0",
"description": "Build tools for SiteOrigin Snapshot theme",
"scripts": {
"build": "npm run build:css && npm run build:js",
"build:css": "sass sass/style.scss:style.css --style=expanded --no-source-map",
"build:js": "npm run minify:js",
"minify:js": "find js -name '*.js' ! -name '*.min.js' -type f -exec sh -c 'terser \"$1\" --compress --mangle --output \"${1%.js}.min.js\"' _ {} \\;",
"test-release": "act push --env GITHUB_REF=refs/tags/v1.0.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/siteorigin/siteorigin-snapshot.git"
},
"keywords": [
"wordpress",
"theme",
"photography",
"portfolio",
"block-theme"
],
"author": "SiteOrigin",
"license": "GPL-3.0",
"devDependencies": {
"lefthook": "^2.0.2",
"sass": "^1.69.0",
"terser": "^5.24.0"
}
}