Unverified Commit 320991b4 authored by Dan Jones's avatar Dan Jones
Browse files

refactor: install testsuite

parent eb7cb068
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
], ],
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"copytest:features": "npx recursive-copy -w node_modules/backbone-adapter-testsuite/features test/features",
"copytest:fixtures": "npx recursive-copy -w node_modules/backbone-adapter-testsuite/fixtures test/fixtures",
"copytests": "npm run copytest:features && npm run copytest:fixtures",
"lint:js": "eslint --ext \".js\" --ignore-path .gitignore .", "lint:js": "eslint --ext \".js\" --ignore-path .gitignore .",
"lint:prettier": "prettier --check .", "lint:prettier": "prettier --check .",
"lint": "yarn lint:js && yarn lint:prettier", "lint": "yarn lint:js && yarn lint:prettier",
...@@ -33,6 +36,7 @@ ...@@ -33,6 +36,7 @@
}, },
"dependencies": { "dependencies": {
"faye-websocket": "^0.11.4", "faye-websocket": "^0.11.4",
"json-schema-remote": "^1.6.2",
"swagger-model-validator": "^3.0.21" "swagger-model-validator": "^3.0.21"
}, },
"devDependencies": { "devDependencies": {
...@@ -45,6 +49,7 @@ ...@@ -45,6 +49,7 @@
"axios": "^1.2.3", "axios": "^1.2.3",
"axios-mock-adapter": "^1.21.2", "axios-mock-adapter": "^1.21.2",
"babel-jest": "^27.4.4", "babel-jest": "^27.4.4",
"backbone-adapter-testsuite": "git+https://git.noc.ac.uk/communications-backbone-system/backbone-adapter-testsuite.git#packages",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.4.1", "eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
...@@ -54,6 +59,7 @@ ...@@ -54,6 +59,7 @@
"lint-staged": "^12.1.2", "lint-staged": "^12.1.2",
"openapi-schema-validator": "^12.1.0", "openapi-schema-validator": "^12.1.0",
"prettier": "^2.5.1", "prettier": "^2.5.1",
"recursive-copy-cli": "^1.0.20",
"rollup": "^3.9.1" "rollup": "^3.9.1"
} }
} }
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment