-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
28 lines (28 loc) · 1.09 KB
/
composer.json
File metadata and controls
28 lines (28 loc) · 1.09 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
{
"name": "validformbuilder/playground",
"description": "An easy and fast playground for ValidForm Builder",
"type": "project",
"require": {
"validformbuilder/validformbuilder": "dev-master",
"ext-json": "*"
},
"license": "MIT",
"authors": [
{
"name": "Robin van Baalen",
"email": "robin@cattlea.com"
}
],
"minimum-stability": "stable",
"scripts": {
"post-install-cmd": [
"echo \"Placing ValidForm Builder static files in public folder...\"",
"php -r \"copy('vendor/validformbuilder/validformbuilder/js/validform.js', 'public/js/validform.js');\"",
"php -r \"copy('vendor/validformbuilder/validformbuilder/js/validwizard.js', 'public/js/validwizard.js');\"",
"php -r \"copy('vendor/validformbuilder/validformbuilder/css/validform.css', 'public/css/validform.css');\"",
"echo 'Installing client-side dependencies'",
"yarn install"
],
"playground": "open http://localhost:8000 && php -S localhost:8000 -t public/"
}
}