Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alecghica authored Oct 26, 2021
1 parent 30e427f commit ee26349
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,47 +22,6 @@
"@eeacms/volto-group-block",
"@eeacms/volto-freshwater"
],
"scripts": {
"analyze": "webpack-bundle-analyzer -p $PORT -h 0.0.0.0 ./build/public/stats.json",
"build": "razzle build",
"ci:cypress:end": "docker stop webapp plone",
"ci:cypress:mochawsome:merge": "mochawesome-merge cypress/mochawesome/json/*.json -o cypress/report/mochawesome.json",
"ci:cypress:mochawsome:report": "marge --reportDir=cypress/report --charts=true --reportTitle=ITReport --reportPageTitle='Cypress Integration Tests' cypress/report/mochawesome.json",
"ci:cypress:run": "start-test ci:start-api-plone http-get://$npm_package_custom_localIP:$npm_package_custom_ploneport/plone ci:start-tests",
"ci:prepare": "localIP=$(ip addr | grep -E '^ *inet ' | grep -vE 'inet (172|127)' | head -n 1 | awk '{print $2}' | cut -f1 -d'/'); sed -i \"s#\\\"localIP\\\":.*#\\\"localIP\\\": \\\"$localIP\\\"#\" package.json",
"ci:start-api-plone": "yarn ci:prepare; docker run --name plone --rm -p $npm_package_custom_ploneport:55001 -e ZSERVER_PORT=55001 -e ZSERVER_HOST=0.0.0.0 -e ADDONS='plone.app.robotframework plone.app.contenttypes plone.restapi kitconcept.volto' -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,kitconcept.volto,kitconcept.volto.cors -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,kitconcept.volto:default-homepage -e VERSIONS='plone.restapi=6.13.4' -e ZCML='kitconcept.volto.cors' -e CORS_ALLOW_ORIGIN=http://$npm_package_custom_localIP:$npm_package_custom_webappport -e SITE=plone -e PROFILES='plone.app.contenttypes:plone-content plone.restapi:default kitconcept.volto:default-homepage' -v $(./get_correct_pwd.sh)/start-robot-server.sh:/start-robot-server.sh plone /start-robot-server.sh",
"ci:start-frontend": "yarn ci:prepare; docker run --name webapp --rm -p $npm_package_custom_webappport:3000 -e RAZZLE_API_PATH=http://$npm_package_custom_localIP:$npm_package_custom_ploneport/plone -e HOST=$npm_package_custom_localIP -e CI=yes -v $(./get_correct_pwd.sh):/$(pwd) -w /$(pwd) --rm node:12-slim /bin/sh -c 'yarn build && yarn start:prod'",
"ci:start-tests": "start-test ci:start-frontend http-get://$npm_package_custom_localIP:$npm_package_custom_webappport cypress:run",
"code-analysis:i18n": "yarn i18n && git diff -G'^[^\"POT]' --exit-code",
"cy:test:fixture:setup": "node cypress/support/reset-fixture.js",
"cy:test:fixture:teardown": "node cypress/support/reset-fixture.js teardown",
"cypress:run": "yarn ci:prepare; docker run --name cypress --rm -v $(./get_correct_pwd.sh):/e2e -w /e2e -e NODE_ENV=development -e CYPRESS_API=plone -e CYPRESS_RETRIES=2 -e CI=yes -e CYPRESS_BASE_URL=http://$npm_package_custom_localIP:$npm_package_custom_webappport -e CYPRESS_BACKEND_HOST=$npm_package_custom_localIP -e CYPRESS_BACKEND_PORT=$npm_package_custom_ploneport -e CYPRESS_BACKEND_URL=http://$npm_package_custom_localIP:$npm_package_custom_ploneport/plone --rm cypress/included:4.8.0",
"cypress:run:local": "NODE_ENV=development CYPRESS_API=plone CYPRESS_RETRIES=2 cypress open",
"develop": "missdev --config=jsconfig.json --output=addons",
"develop:npx": "npx -p mrs-developer missdev --config=jsconfig.json --output=addons",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n",
"lint": "./node_modules/eslint/bin/eslint.js --max-warnings=0 'src/**/*.{js,jsx}'",
"lint:fix": "./node_modules/eslint/bin/eslint.js --fix 'src/**/*.{js,jsx}'",
"omelette": "ln -sf node_modules/@plone/volto/ omelette",
"patches": "/bin/bash patches/patchit.sh > /dev/null 2>&1 ||true",
"postinstall": "yarn omelette",
"preinstallxxx": "if [ -f $(pwd)/node_modules/.bin/missdev ]; then yarn develop; else yarn develop:npx; fi",
"prettier": "./node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"prettier:fix": "./node_modules/.bin/prettier --single-quote --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"pretty": "yarn prettier:fix",
"serve": "http-server -p $PORT ./build",
"start": "razzle start",
"start:prod": "NODE_ENV=production node build/server.js",
"style": "yarn stylelint:fix",
"stylelint": "./node_modules/.bin/stylelint 'theme/**/*.{css,less}' 'src/**/*.{css,less}'",
"stylelint:fix": "yarn stylelint --fix && yarn stylelint:overrides --fix",
"stylelint:overrides": "./node_modules/.bin/stylelint --syntax less 'theme/**/*.overrides' 'src/**/*.overrides'",
"test": "razzle test --env=jsdom",
"upgrade-volto": "yarn upgrade @plone/volto; cp node_modules/@plone/volto/yarn.lock yarn.lock; yarn install",
"release": "release-it",
"release-major-beta": "release-it major --preRelease=beta",
"release-beta": "release-it --preRelease=beta"
},
"dependencies": {
"@eeacms/volto-block-image-cards": "github:eea/volto-block-image-cards#develop",
"@eeacms/volto-block-style": "3.5.1",
Expand Down Expand Up @@ -103,6 +62,47 @@
"stylelint-config-prettier": "8.0.1",
"stylelint-prettier": "1.1.2"
},
"scripts": {
"analyze": "webpack-bundle-analyzer -p $PORT -h 0.0.0.0 ./build/public/stats.json",
"build": "razzle build",
"ci:cypress:end": "docker stop webapp plone",
"ci:cypress:mochawsome:merge": "mochawesome-merge cypress/mochawesome/json/*.json -o cypress/report/mochawesome.json",
"ci:cypress:mochawsome:report": "marge --reportDir=cypress/report --charts=true --reportTitle=ITReport --reportPageTitle='Cypress Integration Tests' cypress/report/mochawesome.json",
"ci:cypress:run": "start-test ci:start-api-plone http-get://$npm_package_custom_localIP:$npm_package_custom_ploneport/plone ci:start-tests",
"ci:prepare": "localIP=$(ip addr | grep -E '^ *inet ' | grep -vE 'inet (172|127)' | head -n 1 | awk '{print $2}' | cut -f1 -d'/'); sed -i \"s#\\\"localIP\\\":.*#\\\"localIP\\\": \\\"$localIP\\\"#\" package.json",
"ci:start-api-plone": "yarn ci:prepare; docker run --name plone --rm -p $npm_package_custom_ploneport:55001 -e ZSERVER_PORT=55001 -e ZSERVER_HOST=0.0.0.0 -e ADDONS='plone.app.robotframework plone.app.contenttypes plone.restapi kitconcept.volto' -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,kitconcept.volto,kitconcept.volto.cors -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,kitconcept.volto:default-homepage -e VERSIONS='plone.restapi=6.13.4' -e ZCML='kitconcept.volto.cors' -e CORS_ALLOW_ORIGIN=http://$npm_package_custom_localIP:$npm_package_custom_webappport -e SITE=plone -e PROFILES='plone.app.contenttypes:plone-content plone.restapi:default kitconcept.volto:default-homepage' -v $(./get_correct_pwd.sh)/start-robot-server.sh:/start-robot-server.sh plone /start-robot-server.sh",
"ci:start-frontend": "yarn ci:prepare; docker run --name webapp --rm -p $npm_package_custom_webappport:3000 -e RAZZLE_API_PATH=http://$npm_package_custom_localIP:$npm_package_custom_ploneport/plone -e HOST=$npm_package_custom_localIP -e CI=yes -v $(./get_correct_pwd.sh):/$(pwd) -w /$(pwd) --rm node:12-slim /bin/sh -c 'yarn build && yarn start:prod'",
"ci:start-tests": "start-test ci:start-frontend http-get://$npm_package_custom_localIP:$npm_package_custom_webappport cypress:run",
"code-analysis:i18n": "yarn i18n && git diff -G'^[^\"POT]' --exit-code",
"cy:test:fixture:setup": "node cypress/support/reset-fixture.js",
"cy:test:fixture:teardown": "node cypress/support/reset-fixture.js teardown",
"cypress:run": "yarn ci:prepare; docker run --name cypress --rm -v $(./get_correct_pwd.sh):/e2e -w /e2e -e NODE_ENV=development -e CYPRESS_API=plone -e CYPRESS_RETRIES=2 -e CI=yes -e CYPRESS_BASE_URL=http://$npm_package_custom_localIP:$npm_package_custom_webappport -e CYPRESS_BACKEND_HOST=$npm_package_custom_localIP -e CYPRESS_BACKEND_PORT=$npm_package_custom_ploneport -e CYPRESS_BACKEND_URL=http://$npm_package_custom_localIP:$npm_package_custom_ploneport/plone --rm cypress/included:4.8.0",
"cypress:run:local": "NODE_ENV=development CYPRESS_API=plone CYPRESS_RETRIES=2 cypress open",
"develop": "missdev --config=jsconfig.json --output=addons",
"develop:npx": "npx -p mrs-developer missdev --config=jsconfig.json --output=addons",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n",
"lint": "./node_modules/eslint/bin/eslint.js --max-warnings=0 'src/**/*.{js,jsx}'",
"lint:fix": "./node_modules/eslint/bin/eslint.js --fix 'src/**/*.{js,jsx}'",
"omelette": "ln -sf node_modules/@plone/volto/ omelette",
"patches": "/bin/bash patches/patchit.sh > /dev/null 2>&1 ||true",
"postinstall": "yarn omelette",
"preinstallxxx": "if [ -f $(pwd)/node_modules/.bin/missdev ]; then yarn develop; else yarn develop:npx; fi",
"prettier": "./node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"prettier:fix": "./node_modules/.bin/prettier --single-quote --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"pretty": "yarn prettier:fix",
"serve": "http-server -p $PORT ./build",
"start": "razzle start",
"start:prod": "NODE_ENV=production node build/server.js",
"style": "yarn stylelint:fix",
"stylelint": "./node_modules/.bin/stylelint 'theme/**/*.{css,less}' 'src/**/*.{css,less}'",
"stylelint:fix": "yarn stylelint --fix && yarn stylelint:overrides --fix",
"stylelint:overrides": "./node_modules/.bin/stylelint --syntax less 'theme/**/*.overrides' 'src/**/*.overrides'",
"test": "razzle test --env=jsdom",
"upgrade-volto": "yarn upgrade @plone/volto; cp node_modules/@plone/volto/yarn.lock yarn.lock; yarn install",
"release": "release-it",
"release-major-beta": "release-it major --preRelease=beta",
"release-beta": "release-it --preRelease=beta"
},
"optimizeLiftPackages": [
"immutable",
"react"
Expand Down

0 comments on commit ee26349

Please sign in to comment.