chore(e2e): add cypress integration test of editorial workflow (#1573)
This commit is contained in:
34
package.json
34
package.json
@ -1,16 +1,29 @@
|
||||
{
|
||||
"scripts": {
|
||||
"bootstrap": "yarn && lerna bootstrap",
|
||||
"start": "npm run bootstrap && npm run develop",
|
||||
"start": "run-s bootstrap develop",
|
||||
"watch": "lerna run watch --parallel",
|
||||
"develop": "lerna run develop --parallel",
|
||||
"build": "npm run clean && lerna run build",
|
||||
"build-preview": "npm run build && lerna run build-preview",
|
||||
"clean": "rimraf packages/*/dist",
|
||||
"clean": "rimraf packages/*/dist dev-test/*.js",
|
||||
"reset": "npm run clean && lerna clean --yes",
|
||||
"test": "cross-env NODE_ENV=test jest --no-cache",
|
||||
"cache-ci": "node scripts/cache.js",
|
||||
"test": "run-s jest e2e",
|
||||
"test-ci": "run-s cache-ci jest e2e-ci",
|
||||
"jest": "cross-env NODE_ENV=test jest --no-cache",
|
||||
"e2e-prep": "npm run build && cp -r packages/netlify-cms/dist dev-test/",
|
||||
"e2e-serve": "http-server dev-test",
|
||||
"e2e-exec": "cypress run",
|
||||
"e2e-exec-ci": "cypress run --record",
|
||||
"e2e-exec-dev": "cypress open",
|
||||
"e2e-run": "start-test e2e-serve 8080 e2e-exec",
|
||||
"e2e-run-ci": "start-test e2e-serve 8080 e2e-exec-ci",
|
||||
"e2e": "run-s e2e-prep e2e-run",
|
||||
"e2e-ci": "run-s e2e-prep e2e-run-ci",
|
||||
"e2e-dev": "start-test develop 8080 e2e-exec-dev",
|
||||
"dryrun": "lerna publish --skip-npm --skip-git",
|
||||
"publish": "npm run bootstrap && npm run dryrun && npm run build && git checkout . && lerna publish",
|
||||
"publish": "run-s bootstrap dryrun build && git checkout . && lerna publish",
|
||||
"add-contributor": "all-contributors add"
|
||||
},
|
||||
"browserslist": [
|
||||
@ -41,25 +54,28 @@
|
||||
"babel-plugin-transform-builtin-extend": "^1.1.2",
|
||||
"babel-plugin-transform-export-extensions": "^6.22.0",
|
||||
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
||||
"cache-me-outside": "^0.0.4",
|
||||
"cross-env": "^5.1.4",
|
||||
"cypress": "^3.0.3",
|
||||
"deep-equal": "^1.0.1",
|
||||
"enzyme": "^3.1.0",
|
||||
"enzyme-adapter-react-16": "^1.0.2",
|
||||
"friendly-errors-webpack-plugin": "^1.7.0",
|
||||
"http-server": "^0.11.1",
|
||||
"jest": "^23.4.0",
|
||||
"jest-cli": "^23.4.0",
|
||||
"jest-emotion": "^9.2.7",
|
||||
"lerna": "^2.11.0",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"raf": "^3.4.0",
|
||||
"react-test-renderer": "^16.0.0",
|
||||
"rimraf": "^2.6.2",
|
||||
"start-server-and-test": "^1.7.0",
|
||||
"style-loader": "^0.21.0",
|
||||
"svg-inline-loader": "^0.8.0"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"jest-emotion": "^9.2.6"
|
||||
}
|
||||
}
|
||||
"private": true
|
||||
}
|
||||
|
Reference in New Issue
Block a user