-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtangible.config.js
85 lines (82 loc) · 2.21 KB
/
tangible.config.js
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
export default {
build: [
// Frontend - See includes/enqueue.php
// {
// src: 'assets/src/index.js',
// dest: 'assets/build/tangible-loops-and-logic-pro.min.js'
// },
// {
// src: 'assets/src/index.scss',
// dest: 'assets/build/tangible-loops-and-logic-pro.min.css'
// },
// Admin
{
src: 'assets/src/admin.scss',
dest: 'assets/build/admin.min.css',
},
],
format: ['**/*.{php,js,json,scss}', '!assets/build'],
archive: {
dest: 'publish/tangible-loops-and-logic.zip',
root: 'tangible-loops-and-logic',
src: [
'*.php',
'readme.txt',
'assets/**',
'includes/**',
'vendor/tangible/**'
],
exclude: [
],
configs: [
'./vendor/tangible/template-system/tangible.config.js'
]
},
/**
* Dependencies for production are installed in `vendor/tangible`,
* included in the zip package to publish. Those for development are
* in `tangible-dev`, excluded from the archive.
*
* In `.wp-env.json`, these folders are mounted to the virtual file
* system for local development and testing.
*/
install: [
// Modules
{
git: 'git@github.com:tangibleinc/fields',
dest: 'vendor/tangible/fields',
branch: 'main',
},
{
git: 'git@github.com:tangibleinc/framework',
dest: 'vendor/tangible/framework',
branch: 'main',
},
{
git: 'git@github.com:tangibleinc/template-system',
dest: 'vendor/tangible/template-system',
branch: 'main',
},
// No updater for release in wp.org
// {
// git: 'git@github.com:tangibleinc/updater',
// dest: 'vendor/tangible/updater',
// branch: 'main',
// },
],
installDev: [
// Third-party plugins
{
zip: 'https://downloads.wordpress.org/plugin/advanced-custom-fields.latest-stable.zip',
dest: 'vendor/tangible-dev/advanced-custom-fields',
},
{
zip: 'https://downloads.wordpress.org/plugin/beaver-builder-lite-version.latest-stable.zip',
dest: 'vendor/tangible-dev/beaver-builder-lite-version',
},
{
zip: 'https://downloads.wordpress.org/plugin/elementor.latest-stable.zip',
dest: 'vendor/tangible-dev/elementor',
},
]
}