-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtangible.config.js
76 lines (76 loc) · 1.7 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
export default {
build: [
// Admin
{
src: 'assets/src/admin.scss',
dest: 'assets/build/admin.min.css'
},
],
format: [
],
archive: {
root: 'tangible-blocks-editor',
dest: 'publish/tangible-blocks-editor.zip',
src: [
'*.php',
'assets/**',
'includes/**',
'vendor/tangible/**',
'readme.txt'
],
exclude: [
'assets/src',
'docs',
'.git',
'**/artifacts',
'**/publish',
'**/node_modules',
'**/tests',
'**/*.scss',
'**/*.jsx',
'**/*.ts',
'**/*.tsx',
'vendor/tangible/*/vendor',
'vendor/tangible/fields',
'vendor/tangible/template-system',
'vendor/tangible-dev/',
],
},
/**
* 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: [
{
git: 'git@github.com:tangibleinc/blocks',
dest: 'vendor/tangible-dev/blocks',
branch: 'main',
},
{
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',
},
{
git: 'git@github.com:tangibleinc/updater',
dest: 'vendor/tangible/updater',
branch: 'main',
},
],
installDev: [
]
}