|
4 | 4 | "description": "This extension provides a react Admin UI for managing custom fields related to [DCAT-US Schema](https://https://resources.data.gov/resources/dcat-us/).", |
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | | - "build:docker": "docker-compose build", |
| 7 | + "build:docker": "docker compose build", |
8 | 8 | "package": "python setup.py sdist && python setup.py bdist_wheel", |
9 | | - "clean": "docker-compose down -v --remove-orphans", |
10 | | - "test": "yarn dockerize && docker-compose run --rm ckan /srv/app/test.sh", |
11 | | - "up": "docker-compose -f docker-compose.yml up", |
12 | | - "lint:python": "docker-compose -f docker-compose.yml run --rm ckan flake8 /srv/app --count --show-source --statistics --exclude ckan --max-line-length 127", |
13 | | - "dockerize": "docker-compose -f docker-compose.yml up -d", |
| 9 | + "clean": "docker compose down -v --remove-orphans", |
| 10 | + "test": "yarn dockerize && docker compose run --rm ckan /srv/app/test.sh", |
| 11 | + "up": "docker compose -f docker-compose.yml up", |
| 12 | + "lint:python": "docker compose -f docker-compose.yml run --rm ckan flake8 /srv/app --count --show-source --statistics --exclude ckan --max-line-length 127", |
| 13 | + "dockerize": "docker compose -f docker-compose.yml up -d", |
14 | 14 | "test:metadata-app": "node react-scripts/test.js --watchAll=false", |
15 | 15 | "test:metadata-app:watch": "node react-scripts/test.js --watchAll=true", |
16 | 16 | "pre-commit": "echo 'formatting your changes...' && eslint metadata-app/src/ && prettier --write", |
17 | | - "e2e": "docker-compose -f docker-compose.yml -f docker-compose.cypress.yml run cypress /bin/bash -c \"npx wait-on http://ckan:5000/api/action/status_show && npx cypress install && yarn && NODE_ENV=test npx cypress run\"", |
18 | | - "e2e:interactive": "docker-compose -f docker-compose.yml up -d && yarn && NODE_ENV=test npx cypress open", |
| 17 | + "e2e": "docker compose -f docker-compose.yml -f docker-compose.cypress.yml run cypress /bin/bash -c \"npx wait-on http://ckan:5000/api/action/status_show --timeout 120000 && npx cypress install && yarn && NODE_ENV=test npx cypress run\"", |
| 18 | + "e2e:interactive": "docker compose -f docker-compose.yml up -d && yarn && NODE_ENV=test npx cypress open", |
19 | 19 | "lint:js": "npx eslint metadata-app/src && npx prettier --check metadata-app/src", |
20 | 20 | "rename:builds": "cd ckanext/dcat_usmetadata/public/ && mv assets/css . && mv assets/js .", |
21 | 21 | "start:dev": "yarn dockerize && yarn && cd metadata-app && yarn start:metadata-app", |
|
140 | 140 | "eslint-plugin-react": "^7.22.0", |
141 | 141 | "husky": "^4.2.5", |
142 | 142 | "lint-staged": "^10.2.11", |
143 | | - "prettier": "^2.0.5" |
| 143 | + "prettier": "^2.0.5", |
| 144 | + "wait-on": "8.0.3" |
144 | 145 | }, |
145 | 146 | "jest": { |
146 | 147 | "roots": [ |
|
205 | 206 | "url": "git@gitlab.com:datopian/clients/ckanext-dcat_usmetadata.git" |
206 | 207 | }, |
207 | 208 | "author": "", |
208 | | - "license": "ISC" |
| 209 | + "license": "ISC", |
| 210 | + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" |
209 | 211 | } |
0 commit comments