55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"name": "siaupheng/cmasa",
|
|
"version": "1.0.0",
|
|
"description": "Aplikasi Stok dan Penjualan POS",
|
|
"keywords": [
|
|
"siaupheng",
|
|
"invesa",
|
|
"pos",
|
|
"cmasa"
|
|
],
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "siaupheng",
|
|
"email": "[email protected]",
|
|
"role": "dev"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.0",
|
|
"ext-json": "*",
|
|
"ext-pdo": "*",
|
|
"flightphp/core": "^3.18",
|
|
"flightphp/runway": "^1.2",
|
|
"flightphp/session": "^0.3",
|
|
"level-2/dice": "^4.0",
|
|
"siaupheng/webapp": "^1.0",
|
|
"tracy/tracy": "^2.9",
|
|
"twig/twig": "^3.0"
|
|
},
|
|
"require-dev": {
|
|
"flightphp/tracy-extensions": "^0.1 || ^0.2"
|
|
},
|
|
"config": {
|
|
"process-timeout": 0,
|
|
"sort-packages": true
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/"
|
|
},
|
|
"classmap": [
|
|
"app/commands/"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"start": "php -S localhost:8000 -t public",
|
|
"post-create-project-cmd": [
|
|
"@php -r \"if (!file_exists('.env') && file_exists('.env.example')) { copy('.env.example', '.env'); }\"",
|
|
"@php -r \"if (!file_exists('.runway-config.json')) { file_put_contents('.runway-config.json', json_encode(['index_root' => 'public/index.php', 'app_root' => 'app/'], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL); }\"",
|
|
"@php -r \"@mkdir('temp/cache', 0775, true); @mkdir('temp/twig', 0775, true); @mkdir('temp/log', 0775, true); @mkdir('temp/session', 0775, true);\""
|
|
]
|
|
}
|
|
}
|