|
1 | 1 | { |
2 | | - "name": "sf-flex-encore-vuejs", |
3 | | - "version": "0.0.1", |
4 | | - "homepage": "https://github.com/Rebolon/php-sf-flex-webpack-encore-vuejs", |
5 | | - "license": "MIT License", |
6 | | - "private": true, |
7 | | - "config": { |
8 | | - "php": "php", |
9 | | - "server_host_web": "localhost", |
10 | | - "server_port_web": "80", |
11 | | - "server_port_asset": "8080", |
12 | | - "test_browser": "chrome:headless,firefox", |
13 | | - "quasar_style": "mat" |
14 | | - }, |
15 | | - "scripts": { |
16 | | - "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", |
17 | | - "init-project:win": "cp .env.dist .env && cp phpunit.xml.dist phpunit.xml && composer install && npm install && npm run db-init:win && npm run dump-js-config:win && cd assets/js/form-devxpress-angular/ && npm install && cd ../../../ && npm run dev:win && cd vendor/bin/.phpunit/phpunit* && composer install && cd ../../../../", |
18 | | - "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:fixtures:load -n", |
19 | | - "db-init:win": "%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:fixtures:load -n", |
20 | | - "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", |
21 | | - "jwt-init:win": "echo 'Use the same passphrase that is your .env file' && mkdir -p config\\jwt && npm run jwt-generation:win && npm run jwt-generation-test:win", |
22 | | - "jwt-generation": "cd config/jwt && openssl genrsa -out private.pem -aes256 4096 && openssl rsa -pubout -in private.pem -out public.pem && cd ../..", |
23 | | - "jwt-generation:win": "cd config\\jwt && openssl genrsa -out private.pem -aes256 4096 && openssl rsa -pubout -in private.pem -out public.pem && cd ..\\..", |
24 | | - "jwt-generation-test": "echo 'Certificates generation for tests, use the following passphrase: test' && mkdir -p var/cache/config/jwt-test && cp var/travis/jwt-test/* var/cache/config/jwt-test", |
25 | | - "jwt-generation-test:win": "echo 'Certificates generation for tests, use the following passphrase: test' && cd var\\cache && mkdir config\\jwt-test && cd ..\\.. && cp var/travis/jwt-test/* var/cache/config/jwt-test", |
26 | | - "dump-js-config": "rm assets/js/config.js -f && $npm_package_config_php bin/console app:dump-js-config $npm_package_config_server_host_web $npm_package_config_server_port_web $npm_package_config_quasar_style", |
27 | | - "dump-js-config:win": "rm assets/js/config.js -f && %npm_package_config_php% bin/console app:dump-js-config %npm_package_config_server_host_web% %npm_package_config_server_port_web% %npm_package_config_quasar_style%", |
28 | | - "sf-dev": "echo 'you should use nginx/apache server, read the README' && $npm_package_config_php -S $npm_package_config_server_host_web:$npm_package_config_server_port_web -t public", |
29 | | - "sf-dev:win": "echo 'you should use nginx/apache server, read the README' && %npm_package_config_php% -S %npm_package_config_server_host_web%:%npm_package_config_server_port_web% -t public", |
30 | | - "dev-server": "./node_modules/.bin/encore dev-server --port $npm_package_config_server_port_asset", |
31 | | - "dev-server:win": ".\\node_modules\\.bin\\encore dev-server --port %npm_package_config_server_port_asset%", |
32 | | - "dev-server-hot": "./node_modules/.bin/encore dev-server --hot --port $npm_package_config_server_port_asset", |
33 | | - "dev-server-hot:win": ".\\node_modules\\.bin\\encore dev-server --hot --port %npm_package_config_server_port_asset%", |
34 | | - "dev": "./node_modules/.bin/encore dev && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng build --extract-css", |
35 | | - "dev:win": ".\\node_modules\\.bin\\encore dev && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng build --extract-css", |
36 | | - "watch": "./node_modules/.bin/encore dev --watch && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng build --watch --extract-css", |
37 | | - "watch:win": "START /B .\\node_modules\\.bin\\encore dev --watch && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng build --watch --extract-css", |
38 | | - "build": "./node_modules/.bin/encore production && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng build --prod --aot --extract-css", |
39 | | - "build:win": ".\\node_modules\\.bin\\encore production && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng build --prod --aot --extract-css", |
40 | | - "test-karma": "./node_modules/.bin/karma start karma.conf.js --single-run", |
41 | | - "test-karma-watch": "./node_modules/.bin/karma start karma.conf.js", |
42 | | - "test-php": "npm run dev && rm -rf var/cache/test && ./vendor/bin/simple-phpunit", |
43 | | - "test-php:win": "npm run dev:win && rm -rf var/cache/test && .\\vendor\\bin\\simple-phpunit.bat", |
44 | | - "test": "npm run dev && npm run test-php && npm run test-karma && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng test && node_modules/.bin/ng e2e", |
45 | | - "test:win": "npm run dev:win && npm run test-php:win && npm run test-karma && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng test && node_modules\\.bin\\ng e2e" |
46 | | - }, |
47 | | - "dependencies": { |
48 | | - "@api-platform/admin": "^0.6.2", |
49 | | - "@rebolon/json-reviver": "^0.0.9", |
50 | | - "apollo-cache-inmemory": "^1.5.1", |
51 | | - "apollo-client": "^2.5.1", |
52 | | - "apollo-link": "^1.2.9", |
53 | | - "apollo-link-error": "^1.1.8", |
54 | | - "apollo-link-http": "^1.5.12", |
55 | | - "axios": "^0.18.0", |
56 | | - "devextreme": "^18.2.6", |
57 | | - "devextreme-vue": "^18.2.6", |
58 | | - "graphql": "^14.1.1", |
59 | | - "graphql-tag": "^2.10.1", |
60 | | - "offline-plugin": "^5.0.6", |
61 | | - "prop-types": "^15.7.2", |
62 | | - "quasar-extras": "^1.0.3", |
63 | | - "quasar-framework": "^0.15.15", |
64 | | - "react": "^16.8.3", |
65 | | - "react-dom": "^16.8.3", |
66 | | - "rxjs": "^6.4.0", |
67 | | - "uglifyjs-webpack-plugin": "^2.1.2", |
68 | | - "vue": "^2.6.8", |
69 | | - "vue-apollo": "^3.0.0-beta.28", |
70 | | - "vue-router": "^3.0.2", |
71 | | - "vuelidate": "^0.7.4" |
72 | | - }, |
73 | | - "devDependencies": { |
74 | | - "@angular/cli": "^7.3.4", |
75 | | - "@babel/preset-env": "^7.3.4", |
76 | | - "@babel/preset-react": "^7.0.0", |
77 | | - "@symfony/webpack-encore": "^0.24.0", |
78 | | - "bootstrap": "^4.3.1", |
79 | | - "create-react-app": "^1.5.2", |
80 | | - "jasmine": "^3.3.1", |
81 | | - "karma": "^4.0.1", |
82 | | - "karma-chrome-launcher": "^2.2.0", |
83 | | - "karma-firefox-launcher": "^1.1.0", |
84 | | - "karma-jasmine": "^2.0.1", |
85 | | - "karma-jasmine-html-reporter": "^1.4.0", |
86 | | - "karma-junit-reporter": "^1.2.0", |
87 | | - "karma-spec-reporter": "0.0.32", |
88 | | - "karma-webpack": "^3.0.5", |
89 | | - "node-sass": "^4.11.0", |
90 | | - "prettier": "^1.16.4", |
91 | | - "rxjs-tslint": "^0.1.7", |
92 | | - "sass-loader": "^7.1.0", |
93 | | - "stylus": "^0.54.5", |
94 | | - "stylus-loader": "^3.0.2", |
95 | | - "ts-loader": "^5.3.3", |
96 | | - "vue-loader": "^15.7.0", |
97 | | - "vue-template-compiler": "^2.6.8" |
98 | | - }, |
99 | | - "browserslist": "> 1%" |
| 2 | + "name": "sf-flex-encore-vuejs", |
| 3 | + "version": "0.0.1", |
| 4 | + "homepage": "https://github.com/Rebolon/php-sf-flex-webpack-encore-vuejs", |
| 5 | + "license": "MIT License", |
| 6 | + "private": true, |
| 7 | + "config": { |
| 8 | + "php": "php", |
| 9 | + "server_host_web": "localhost", |
| 10 | + "server_port_web": "80", |
| 11 | + "server_port_asset": "8080", |
| 12 | + "test_browser": "chrome:headless,firefox", |
| 13 | + "quasar_style": "mat" |
| 14 | + }, |
| 15 | + "scripts": { |
| 16 | + "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", |
| 17 | + "init-project:win": "cp .env.dist .env && cp phpunit.xml.dist phpunit.xml && composer install && npm install && npm run db-init:win && npm run dump-js-config:win && cd assets/js/form-devxpress-angular/ && npm install && cd ../../../ && npm run dev:win && cd vendor/bin/.phpunit/phpunit* && composer install && cd ../../../../", |
| 18 | + "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:fixtures:load -n", |
| 19 | + "db-init:win": "%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:fixtures:load -n", |
| 20 | + "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", |
| 21 | + "jwt-init:win": "echo 'Use the same passphrase that is your .env file' && mkdir -p config\\jwt && npm run jwt-generation:win && npm run jwt-generation-test:win", |
| 22 | + "jwt-generation": "cd config/jwt && openssl genrsa -out private.pem -aes256 4096 && openssl rsa -pubout -in private.pem -out public.pem && cd ../..", |
| 23 | + "jwt-generation:win": "cd config\\jwt && openssl genrsa -out private.pem -aes256 4096 && openssl rsa -pubout -in private.pem -out public.pem && cd ..\\..", |
| 24 | + "jwt-generation-test": "echo 'Certificates generation for tests, use the following passphrase: test' && mkdir -p var/cache/config/jwt-test && cp var/travis/jwt-test/* var/cache/config/jwt-test", |
| 25 | + "jwt-generation-test:win": "echo 'Certificates generation for tests, use the following passphrase: test' && cd var\\cache && mkdir config\\jwt-test && cd ..\\.. && cp var/travis/jwt-test/* var/cache/config/jwt-test", |
| 26 | + "dump-js-config": "rm assets/js/config.js -f && $npm_package_config_php bin/console app:dump-js-config $npm_package_config_server_host_web $npm_package_config_server_port_web $npm_package_config_quasar_style", |
| 27 | + "dump-js-config:win": "rm assets/js/config.js -f && %npm_package_config_php% bin/console app:dump-js-config %npm_package_config_server_host_web% %npm_package_config_server_port_web% %npm_package_config_quasar_style%", |
| 28 | + "sf-dev": "echo 'you should use nginx/apache server, read the README' && $npm_package_config_php -S $npm_package_config_server_host_web:$npm_package_config_server_port_web -t public", |
| 29 | + "sf-dev:win": "echo 'you should use nginx/apache server, read the README' && %npm_package_config_php% -S %npm_package_config_server_host_web%:%npm_package_config_server_port_web% -t public", |
| 30 | + "dev-server": "./node_modules/.bin/encore dev-server --port $npm_package_config_server_port_asset", |
| 31 | + "dev-server:win": ".\\node_modules\\.bin\\encore dev-server --port %npm_package_config_server_port_asset%", |
| 32 | + "dev-server-hot": "./node_modules/.bin/encore dev-server --hot --port $npm_package_config_server_port_asset", |
| 33 | + "dev-server-hot:win": ".\\node_modules\\.bin\\encore dev-server --hot --port %npm_package_config_server_port_asset%", |
| 34 | + "dev": "./node_modules/.bin/encore dev && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng build --extract-css", |
| 35 | + "dev:win": ".\\node_modules\\.bin\\encore dev && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng build --extract-css", |
| 36 | + "watch": "./node_modules/.bin/encore dev --watch && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng build --watch --extract-css", |
| 37 | + "watch:win": "START /B .\\node_modules\\.bin\\encore dev --watch && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng build --watch --extract-css", |
| 38 | + "build": "./node_modules/.bin/encore production && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng build --prod --aot --extract-css", |
| 39 | + "build:win": ".\\node_modules\\.bin\\encore production && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng build --prod --aot --extract-css", |
| 40 | + "test-karma": "./node_modules/.bin/karma start karma.conf.js --single-run", |
| 41 | + "test-karma-watch": "./node_modules/.bin/karma start karma.conf.js", |
| 42 | + "test-php": "npm run dev && rm -rf var/cache/test && ./vendor/bin/simple-phpunit", |
| 43 | + "test-php:win": "npm run dev:win && rm -rf var/cache/test && .\\vendor\\bin\\simple-phpunit.bat", |
| 44 | + "test": "npm run dev && npm run test-php && npm run test-karma && cd assets/js/form-devxpress-angular/ && node_modules/.bin/ng test && node_modules/.bin/ng e2e", |
| 45 | + "test:win": "npm run dev:win && npm run test-php:win && npm run test-karma && cd assets/js/form-devxpress-angular/ && node_modules\\.bin\\ng test && node_modules\\.bin\\ng e2e", |
| 46 | + "snyk-protect": "snyk protect", |
| 47 | + "prepare": "npm run snyk-protect" |
| 48 | + }, |
| 49 | + "dependencies": { |
| 50 | + "@api-platform/admin": "^0.6.2", |
| 51 | + "@rebolon/json-reviver": "^0.0.9", |
| 52 | + "apollo-cache-inmemory": "^1.5.1", |
| 53 | + "apollo-client": "^2.5.1", |
| 54 | + "apollo-link": "^1.2.9", |
| 55 | + "apollo-link-error": "^1.1.8", |
| 56 | + "apollo-link-http": "^1.5.12", |
| 57 | + "axios": "^0.18.0", |
| 58 | + "devextreme": "^18.2.6", |
| 59 | + "devextreme-vue": "^18.2.6", |
| 60 | + "graphql": "^14.1.1", |
| 61 | + "graphql-tag": "^2.10.1", |
| 62 | + "offline-plugin": "^5.0.6", |
| 63 | + "prop-types": "^15.7.2", |
| 64 | + "quasar-extras": "^1.0.3", |
| 65 | + "quasar-framework": "^0.15.15", |
| 66 | + "react": "^16.8.3", |
| 67 | + "react-dom": "^16.8.3", |
| 68 | + "rxjs": "^6.4.0", |
| 69 | + "uglifyjs-webpack-plugin": "^2.1.2", |
| 70 | + "vue": "^2.6.8", |
| 71 | + "vue-apollo": "^3.0.0-beta.28", |
| 72 | + "vue-router": "^3.0.2", |
| 73 | + "vuelidate": "^0.7.4", |
| 74 | + "snyk": "^1.162.0" |
| 75 | + }, |
| 76 | + "devDependencies": { |
| 77 | + "@angular/cli": "^7.3.4", |
| 78 | + "@babel/preset-env": "^7.3.4", |
| 79 | + "@babel/preset-react": "^7.0.0", |
| 80 | + "@symfony/webpack-encore": "^0.24.0", |
| 81 | + "bootstrap": "^4.3.1", |
| 82 | + "create-react-app": "^1.5.2", |
| 83 | + "jasmine": "^3.3.1", |
| 84 | + "karma": "^4.0.1", |
| 85 | + "karma-chrome-launcher": "^2.2.0", |
| 86 | + "karma-firefox-launcher": "^1.1.0", |
| 87 | + "karma-jasmine": "^2.0.1", |
| 88 | + "karma-jasmine-html-reporter": "^1.4.0", |
| 89 | + "karma-junit-reporter": "^1.2.0", |
| 90 | + "karma-spec-reporter": "0.0.32", |
| 91 | + "karma-webpack": "^3.0.5", |
| 92 | + "node-sass": "^4.11.0", |
| 93 | + "prettier": "^1.16.4", |
| 94 | + "rxjs-tslint": "^0.1.7", |
| 95 | + "sass-loader": "^7.1.0", |
| 96 | + "stylus": "^0.54.5", |
| 97 | + "stylus-loader": "^3.0.2", |
| 98 | + "ts-loader": "^5.3.3", |
| 99 | + "vue-loader": "^15.7.0", |
| 100 | + "vue-template-compiler": "^2.6.8" |
| 101 | + }, |
| 102 | + "browserslist": "> 1%", |
| 103 | + "snyk": true |
100 | 104 | } |
0 commit comments