Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Jun 27, 2022
1 parent 23677f1 commit 01f1a72
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 28 deletions.
3 changes: 3 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"compilerOptions": {
"paths": {
"@eeacms/volto-sustainability-theme": [
"addons/volto-sustainability-theme/src"
]
},
"baseUrl": "src"
}
Expand Down
42 changes: 14 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,28 @@
"version": "1.0.0",
"scripts": {
"start": "razzle start",
"preinstall": "if [ -f $(pwd)/mrs.developer.json ]; then if [ -f $(pwd)/node_modules/.bin/missdev ]; then yarn develop; else yarn develop:npx; fi; fi",
"postinstall": "yarn omelette && yarn patches",
"omelette": "if [ ! -d omelette ]; then ln -sf node_modules/@plone/volto omelette; fi",
"analyze": "BUNDLE_ANALYZE=true razzle build",
"omelette": "ln -sf node_modules/@plone/volto/ omelette",
"patches": "/bin/bash patches/patchit.sh > /dev/null 2>&1 ||true",
"build": "razzle build",
"lint": "./node_modules/eslint/bin/eslint.js --max-warnings=0 'src/**/*.{js,jsx}'",
"lint:fix": "./node_modules/eslint/bin/eslint.js --max-warnings=0 --fix 'src/**/*.{js,jsx}'",
"lint:ci": "./node_modules/eslint/bin/eslint.js --max-warnings=0 -f checkstyle 'src/**/*.{js,jsx}' > eslint.xml",
"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}'",
"prettier:ci": "./node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"stylelint": "stylelint 'theme/**/*.{css,less}' 'src/**/*.{css,less}'",
"stylelint:overrides": "stylelint 'theme/**/*.overrides' 'src/**/*.overrides'",
"stylelint:fix": "yarn stylelint --fix && yarn stylelint:overrides --fix",
"test": "razzle test --env=jest-environment-jsdom-sixteen --passWithNoTests",
"cypress:run": "NODE_ENV=test cypress run",
"cypress:open": "NODE_ENV=test cypress open",
"cypress:start-frontend": "RAZZLE_API_PATH=http://localhost:55001/plone yarn start",
"cypress:test-acceptance-server": "make test-acceptance-server",
"cy:test:fixture:setup": "node cypress/support/reset-fixture.js",
"cy:test:fixture:teardown": "node cypress/support/reset-fixture.js teardown",
"ci:start-backend": "make start-test-backend",
"ci:start-frontend": "RAZZLE_API_PATH=http://localhost:55001/plone yarn build && start-test start:prod http-get://localhost:3000 cypress:run",
"ci:cypress:run": "start-test ci:start-backend http-get://localhost:55001/plone ci:start-frontend",
"start:prod": "NODE_ENV=production node build/server.js",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n",
"develop:npx": "npx -p mrs-developer missdev --config=jsconfig.json --output=addons --fetch-https",
"develop": "missdev --config=jsconfig.json --output=addons --fetch-https",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"develop:npx": "npx -p mrs-developer missdev --config=jsconfig.json --output=develop",
"develop": "missdev --config=jsconfig.json --output=develop",
"update": "./scripts/update.sh",
"test": "./node_modules/jest/bin/jest.js --env=jsdom --passWithNoTests src/addons --verbose",
"cypress:run": "./node_modules/cypress/bin/cypress run",
"cypress:open": "./node_modules/cypress/bin/cypress open",
"release": "release-it",
"release-major-beta": "release-it major --preRelease=beta",
"release-beta": "release-it --preRelease=beta"
},
"private": false,
"workspaces": [],
"addons": [
"@eeacms/volto-eea-kitkat",
"@eeacms/volto-sustainability-theme"
"@eeacms/volto-eea-kitkat",
"@eeacms/volto-sustainability-theme"
],
"jest": {
"modulePathIgnorePatterns": [
Expand Down Expand Up @@ -143,7 +129,7 @@
"dependencies": {
"@plone/volto": "15.12.1",
"@eeacms/volto-eea-kitkat": "*"
},
},
"devDependencies": {
"eslint-plugin-prettier": "3.1.3",
"jest-junit": "8.0.0",
Expand Down

0 comments on commit 01f1a72

Please sign in to comment.