|
14 | 14 | "app_version_prefix": "v1.0" |
15 | 15 | }, |
16 | 16 | "scripts": { |
17 | | - "init-project": "[ -f .env ] && echo '.env file already exists' || cp .env.dist .env && cp phpunit.xml.dist phpunit.xml && composer install && npm install && npm run db-init && npm run dump-js-config && cd assets/js/form-devxpress-angular/ && npm install && cd ../../../ && npm run dev && php bin/console assets:install --symlink && npm run jwt-init && echo 'change right on config/jwt/* to 444 for your web user' && composer dump-env prod", |
18 | | - "init-project:w": "cp .env.dist .env && cp phpunit.xml.dist phpunit.xml && composer install && npm install && npm run db-init:w && npm run dump-js-config:w && cd assets/js/form-devxpress-angular/ && npm install && cd ../../../ && npm run dev:w && cd vendor/bin/.phpunit/phpunit* && composer install && cd ../../../../ && php bin/console assets:install --symlink && npm run jwt-init:w && echo 'change right on config/jwt/* to 444 for your web user' && composer dump-env prod", |
| 17 | + "init-project": "[ -f .env ] && echo '.env file already exists' || cp .env.dist .env && cp phpunit.xml.dist phpunit.xml && composer install && npm install && npm run db-init && npm run dump-js-config && cd assets/js/form-devxpress-angular/ && npm install && cd ../../../ && npm run dev && php bin/console assets:install --symlink", |
| 18 | + "init-project:w": "cp .env.dist .env && cp phpunit.xml.dist phpunit.xml && composer install && npm install && npm run db-init:w && npm run dump-js-config:w && cd assets/js/form-devxpress-angular/ && npm install && cd ../../../ && npm run dev:w && cd vendor/bin/.phpunit/phpunit* && composer install && cd ../../../../ && php bin/console assets:install --symlink ", |
| 19 | + "init-project-test": "npm run init-project && npm run jwt-generation-test", |
| 20 | + "init-project-test:w": "npm run init-project && npm run jwt-generation-test:w", |
| 21 | + "init-project-dev": "npm run init-project && npm run jwt-init && echo 'change right on config/jwt/* to 444 for your web user'", |
| 22 | + "init-project-dev:w": "npm run init-project && npm run jwt-init", |
| 23 | + "init-project-prod": "npm run init-project && npm run jwt-init && echo 'change right on config/jwt/* to 444 for your web user' && composer dump-env prod", |
| 24 | + "init-project-prod:w": "npm run init-project && npm run jwt-init:w && composer dump-env prod", |
19 | 25 | "db-init": "$npm_package_config_php bin/console doctrine:database:create && $npm_package_config_php bin/console doctrine:schema:create && $npm_package_config_php bin/console doctrine:migrations:migrate -n && $npm_package_config_php bin/console doctrine:fixtures:load -n", |
20 | 26 | "db-init:w": "%npm_package_config_php% bin/console doctrine:database:create && %npm_package_config_php% bin/console doctrine:schema:create && %npm_package_config_php% bin/console doctrine:migrations:migrate -n && %npm_package_config_php% bin/console doctrine:fixtures:load -n", |
21 | 27 | "jwt-init": "echo 'Use the same passphrase that is your .env file' && mkdir -p config/jwt && npm run jwt-generation && npm run jwt-generation-test", |
|
0 commit comments